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

Function RepositoryLocalWikiPath

internal/repoutil/repoutil.go:72–74  ·  view source on GitHub ↗

RepositoryLocalWikiPath returns the absolute path of the repository local wiki copy with the given ID.

(repoID int64)

Source from the content-addressed store, hash-verified

70// RepositoryLocalWikiPath returns the absolute path of the repository local
71// wiki copy with the given ID.
72func RepositoryLocalWikiPath(repoID int64) string {
73 return filepath.Join(conf.Server.AppDataPath, "tmp", "local-wiki", strconv.FormatInt(repoID, 10))
74}

Callers 3

ChangeUsernameMethod · 0.92
usersChangeUsernameFunction · 0.92

Calls

no outgoing calls

Tested by 2

usersChangeUsernameFunction · 0.74