(fs afero.Fs, root string)
| 26 | } |
| 27 | |
| 28 | func New(fs afero.Fs, root string) *FileCache { |
| 29 | return &FileCache{ |
| 30 | fs: afero.NewBasePathFs(fs, root), |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | func (f *FileCache) Store(_ context.Context, key string, value []byte) error { |
| 35 | mu := f.getScopedLocks(key) |
no outgoing calls