Skip to content

Commit 90feb81

Browse files
committed
Add comment
1 parent e96e1e2 commit 90feb81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/gitrepo/gitrepo.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func RepositoryFromRequestContextOrOpen(ctx reqctx.RequestContext, repo Reposito
7070
return gitRepo, nil
7171
}
7272

73+
// IsRepositoryExist returns true if the repository directory exists in the disk
7374
func IsRepositoryExist(ctx context.Context, repo Repository) (bool, error) {
7475
return util.IsExist(repoPath(repo))
7576
}

0 commit comments

Comments
 (0)