MCPcopy Create free account
hub / github.com/gogs/gogs / RepoPath

Method RepoPath

internal/database/repo.go:584–586  ·  view source on GitHub ↗

Deprecated: Use repoutil.RepositoryPath instead.

()

Source from the content-addressed store, hash-verified

582
583// Deprecated: Use repoutil.RepositoryPath instead.
584func (r *Repository) RepoPath() string {
585 return r.repoPath(x)
586}
587
588func (r *Repository) GitConfigPath() string {
589 return filepath.Join(r.RepoPath(), "config")

Callers 15

GetTagsMethod · 0.95
UpdateRepoFileMethod · 0.95
GetDiffPreviewMethod · 0.95
DeleteRepoFileMethod · 0.95
UploadRepoFilesMethod · 0.95
GetBranchMethod · 0.95
GetBranchesMethod · 0.95
UpdateSizeMethod · 0.95
GitConfigPathMethod · 0.95
UpdateLocalCopyBranchMethod · 0.95
DeleteRepositoryFunction · 0.95
DeleteReleaseOfRepoByIDFunction · 0.80

Implementers 2

Repositoryinternal/database/repo.go
mailerRepointernal/database/issue_mail.go

Calls 1

repoPathMethod · 0.95

Tested by

no test coverage detected