MCPcopy
hub / github.com/filebrowser/filebrowser / Store

Method Store

http/preview.go:32–32  ·  view source on GitHub ↗
(ctx context.Context, key string, value []byte)

Source from the content-addressed store, hash-verified

30
31type FileCache interface {
32 Store(ctx context.Context, key string, value []byte) error
33 Load(ctx context.Context, key string) ([]byte, bool, error)
34 Delete(ctx context.Context, key string) error
35}

Callers 1

createPreviewFunction · 0.65

Implementers 2

NoOpdiskcache/noop_cache.go
FileCachediskcache/file_cache.go

Calls

no outgoing calls

Tested by

no test coverage detected