MCPcopy Index your code
hub / github.com/git-bug/git-bug / LocalStorage

Method LocalStorage

cache/repo_cache_common.go:59–61  ·  view source on GitHub ↗

LocalStorage return a billy.Filesystem giving access to $RepoPath/.git/git-bug

()

Source from the content-addressed store, hash-verified

57
58// LocalStorage return a billy.Filesystem giving access to $RepoPath/.git/git-bug
59func (c *RepoCache) LocalStorage() repository.LocalStorage {
60 return c.repo.LocalStorage()
61}
62
63// ReadData will attempt to read arbitrary data from the given hash
64func (c *RepoCache) ReadData(hash repository.Hash) ([]byte, error) {

Callers

nothing calls this directly

Calls 1

LocalStorageMethod · 0.65

Tested by

no test coverage detected