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 e96e1e2 commit 90feb81Copy full SHA for 90feb81
modules/gitrepo/gitrepo.go
@@ -70,6 +70,7 @@ func RepositoryFromRequestContextOrOpen(ctx reqctx.RequestContext, repo Reposito
70
return gitRepo, nil
71
}
72
73
+// IsRepositoryExist returns true if the repository directory exists in the disk
74
func IsRepositoryExist(ctx context.Context, repo Repository) (bool, error) {
75
return util.IsExist(repoPath(repo))
76
0 commit comments