SwiftDocCSourceRepositoryStructureSourceRepositoryA remote repository that hosts source code.struct SourceRepositoryTopicsInitializersinit(checkoutPath: String, sourceServiceBaseURL: URL, formatLineNumber: (Int) -> String)Creates a source code repository.Instance Propertiesvar checkoutPath: StringThe path at which the repository is cloned locally.var formatLineNumber: (Int) -> StringA function that formats a line number to be included in a URL.var sourceServiceBaseURL: URLThe base URL where the service hosts the repository’s contents.Instance Methodsfunc format(sourceFileURL: URL, lineNumber: Int?) -> URL?Formats a local source file URL to a URL hosted by the remote source code service.Type Methodsstatic func bitbucket(checkoutPath: String, sourceServiceBaseURL: URL) -> SourceRepositoryCreates a source repository hosted by the BitBucket service.static func github(checkoutPath: String, sourceServiceBaseURL: URL) -> SourceRepositoryCreates a source repository hosted by the GitHub service.static func gitlab(checkoutPath: String, sourceServiceBaseURL: URL) -> SourceRepositoryCreates a source repository hosted by the GitLab service.static func localFilesystem() -> SourceRepositoryCreates a source repository hosted by the device’s filesystem.