MCPcopy
hub / github.com/filebrowser/filebrowser / FileCache

Struct FileCache

diskcache/file_cache.go:17–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15)
16
17type FileCache struct {
18 fs afero.Fs
19
20 // granular locks
21 scopedLocks struct {
22 sync.Mutex
23 sync.Once
24 locks map[string]sync.Locker
25 }
26}
27
28func New(fs afero.Fs, root string) *FileCache {
29 return &FileCache{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected