resolveModuleRepoInfo

fun resolveModuleRepoInfo(sourceRoots: List<File>, repoInfos: List<GitRepoInfo>): GitRepoInfo?

Picks the GitRepoInfo whose root contains the deepest match for any of the given sourceRoots. Used by Dokka source-link computation to decide which repository a module's Kotlin sources belong to when multiple repos (e.g. stig-project + an external sources repo) are in play. Falls back to the first repoInfos entry if no source root matches.

Generated with STIG