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

Method WikiPath

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

Source from the content-addressed store, hash-verified

56}
57
58func (r *Repository) WikiPath() string {
59 return WikiPath(r.MustOwner().Name, r.Name)
60}
61
62// HasWiki returns true if repository has wiki.
63func (r *Repository) HasWiki() bool {

Callers 11

HasWikiMethod · 0.95
InitWikiMethod · 0.95
UpdateLocalWikiMethod · 0.95
DeleteWikiMethod · 0.95
runSyncMethod · 0.80
CleanUpMigrateInfoFunction · 0.80
ChangeRepositoryNameFunction · 0.80
SyncRepositoryHooksFunction · 0.80
renderWikiPageFunction · 0.80
WikiFunction · 0.80
WikiPagesFunction · 0.80

Implementers 2

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

Calls 2

MustOwnerMethod · 0.95
WikiPathFunction · 0.85

Tested by

no test coverage detected