Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
47
func
newFileDB(dir string) *fileDB {
48
return
&fileDB{root: dir, cache: make(
map
[string]*cacheFile)}
49
}
50
51
func
(f *fileDB) newFile() error {
52
err := syscall.EEXIST
Callers
2
NewStore
Function · 0.85
init
Function · 0.85
Calls
no outgoing calls
Tested by
1
init
Function · 0.68