Skip to content

Commit da76fc1

Browse files
committed
Add some comments
1 parent 6c2806f commit da76fc1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/gitrepo/gitrepo.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ import (
1515
"code.gitea.io/gitea/modules/util"
1616
)
1717

18+
// Repository represents a git repository which stored in a disk
1819
type Repository interface {
19-
RelativePath() string
20+
RelativePath() string // We don't assume how the directory structure of the repository is, so we only need the relative path
2021
}
2122

2223
func repoPath(repo Repository) string {

0 commit comments

Comments
 (0)