MCPcopy
hub / github.com/filebrowser/filebrowser / Load

Method Load

http/preview.go:33–33  ·  view source on GitHub ↗
(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

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}
36

Callers 1

handleImagePreviewFunction · 0.65

Implementers 2

NoOpdiskcache/noop_cache.go
FileCachediskcache/file_cache.go

Calls

no outgoing calls

Tested by

no test coverage detected