Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dearcode/candy
/ close
Method
close
store/file.go:68–72 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
66
}
67
68
func
(f *fileDB) close(name string) {
69
if
c, ok := f.cache[name]; ok {
70
c.last = time.Now().Add(closeInterval)
71
}
72
}
73
74
func
(f *fileDB) open(name string) (file *os.File, err error) {
75
c, ok := f.cache[name]
Callers
1
isFull
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected