buildRepositoryRootUrl

Builds the configured repository location, pinned to Context.commit when it maps to a subdirectory.


fun buildRepositoryRootUrl(baseUrl: String, ref: String, remotePath: String = "", codeBrowser: CodeBrowser = CodeBrowser.AUTO): String?

Builds the repository URL represented by baseUrl and remotePath. A repository root is linked directly; a configured subdirectory is linked at the same immutable ref used by source links.

Generated with STIG