MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / CacheManager

Struct CacheManager

internal/op/cache.go:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type CacheManager struct {
15 dirCache *cache.KeyedCache[*directoryCache] // Cache for directory listings
16 linkCache *cache.TypedCache[*objWithLink] // Cache for file links
17 userCache *cache.KeyedCache[*model.User] // Cache for user data
18 settingCache *cache.KeyedCache[any] // Cache for settings
19 detailCache *cache.KeyedCache[*model.StorageDetails] // Cache for storage details
20}
21
22func NewCacheManager() *CacheManager {
23 return &CacheManager{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected