MCPcopy
hub / github.com/filebrowser/filebrowser / memoryUploadCache

Struct memoryUploadCache

http/upload_cache_memory.go:35–37  ·  view source on GitHub ↗

memoryUploadCache is an upload cache for single replica deployments

Source from the content-addressed store, hash-verified

33
34// memoryUploadCache is an upload cache for single replica deployments
35type memoryUploadCache struct {
36 cache *ttlcache.Cache[string, int64]
37}
38
39func newMemoryUploadCache() *memoryUploadCache {
40 cache := ttlcache.New[string, int64]()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected