MCPcopy Create free account
hub / github.com/pydio/cells / withCache

Function withCache

common/storage/sql/resources/cache.go:44–49  ·  view source on GitHub ↗
(dao DAO)

Source from the content-addressed store, hash-verified

42}
43
44func withCache(dao DAO) DAO {
45 c := &cacheImpl{
46 DAO: dao,
47 }
48 return c
49}
50
51func (c *cacheImpl) getCache(ctx context.Context) cache.Cache {
52 return cache_helper.MustResolveCache(ctx, common.CacheTypeLocal, cacheConfig)

Callers 1

NewDAOFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…