Skip to content

Commit 9590fc0

Browse files
committed
fix(KDoc): Reference Repository.provenance now
`Repository.provenance.vcsInfo` would be even better, but KDoc appears to not be able to follow at this attribute depth. Signed-off-by: Jens Keim <[email protected]>
1 parent 3a465ca commit 9590fc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

model/src/main/kotlin/Repository.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ data class Repository(
6868
}
6969

7070
/**
71-
* Return the path of [vcs] relative to [Repository.vcs], or null if [vcs] is neither [Repository.vcs] nor contained
72-
* in [nestedRepositories].
71+
* Return the path of [vcs] relative to [Repository.provenance], or null if [vcs] is neither [Repository.provenance]
72+
* nor contained in [nestedRepositories].
7373
*/
7474
fun getRelativePath(vcs: VcsInfo): String? {
7575
fun VcsInfo.matches(other: VcsInfo) = type == other.type && url == other.url && revision == other.revision

0 commit comments

Comments
 (0)