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

Method LocalWikiPath

internal/database/wiki.go:82–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80}
81
82func (r *Repository) LocalWikiPath() string {
83 return filepath.Join(conf.Server.AppDataPath, "tmp", "local-wiki", com.ToStr(r.ID))
84}
85
86// UpdateLocalWiki makes sure the local copy of repository wiki is up-to-date.
87func (r *Repository) UpdateLocalWiki() error {

Callers 6

UpdateLocalWikiMethod · 0.95
updateWikiPageMethod · 0.95
DeleteWikiPageMethod · 0.95
DeleteWikiMethod · 0.95
TransferOwnershipFunction · 0.80
ChangeRepositoryNameFunction · 0.80

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected