MCPcopy Create free account
hub / github.com/git-bug/git-bug / LocalStorage

Method LocalStorage

repository/gogit.go:352–354  ·  view source on GitHub ↗

LocalStorage returns a billy.Filesystem giving access to $RepoPath/.git/$Namespace.

()

Source from the content-addressed store, hash-verified

350// LocalStorage returns a billy.Filesystem giving access to
351// $RepoPath/.git/$Namespace.
352func (repo *GoGitRepo) LocalStorage() LocalStorage {
353 return repo.localStorage
354}
355
356func (repo *GoGitRepo) GetIndex(name string) (Index, error) {
357 repo.indexesMutex.Lock()

Callers 3

AllClocksMethod · 0.95
GetOrCreateClockMethod · 0.95
getClockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected