Instance Method
format(sourceFileURL:lineNumber:)
Formats a local source file URL to a URL hosted by the remote source code service.
func format(sourceFileURL: URL, lineNumber: Int? = nil) -> URL?
Parameters
sourceFileURLThe location of the source file on disk.
lineNumberA line number in the source file, 1-indexed.
Return Value
The URL of the file hosted by the remote source code service if it could be constructed, otherwise, nil.