MCPcopy Index your code
hub / github.com/dearcode/candy / newFileDB

Function newFileDB

store/file.go:47–49  ·  view source on GitHub ↗
(dir string)

Source from the content-addressed store, hash-verified

45}
46
47func newFileDB(dir string) *fileDB {
48 return &fileDB{root: dir, cache: make(map[string]*cacheFile)}
49}
50
51func (f *fileDB) newFile() error {
52 err := syscall.EEXIST

Callers 2

NewStoreFunction · 0.85
initFunction · 0.85

Calls

no outgoing calls

Tested by 1

initFunction · 0.68