We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c2806f commit da76fc1Copy full SHA for da76fc1
modules/gitrepo/gitrepo.go
@@ -15,8 +15,9 @@ import (
15
"code.gitea.io/gitea/modules/util"
16
)
17
18
+// Repository represents a git repository which stored in a disk
19
type Repository interface {
- RelativePath() string
20
+ RelativePath() string // We don't assume how the directory structure of the repository is, so we only need the relative path
21
}
22
23
func repoPath(repo Repository) string {
0 commit comments