MCPcopy Create free account
hub / github.com/dagger/dagger / PruneEngineLocalCacheEntries

Method PruneEngineLocalCacheEntries

core/query.go:151–151  ·  view source on GitHub ↗

Prune the local cache of releaseable entries. If UseDefaultPolicy is true, use the engine-wide default pruning policy, otherwise prune the whole cache of any releasable entries.

(context.Context, EngineCachePruneOptions)

Source from the content-addressed store, hash-verified

149 // use the engine-wide default pruning policy, otherwise prune the whole cache
150 // of any releasable entries.
151 PruneEngineLocalCacheEntries(context.Context, EngineCachePruneOptions) (*EngineCacheEntrySet, error)
152
153 // The default local cache policy to use for automatic local cache GC.
154 EngineLocalCachePolicy() *dagql.CachePrunePolicy

Callers 1

cachePruneMethod · 0.65

Implementers 3

mockServercore/telemetry_test.go
currentTypeDefsTestServercore/schema/test_server_test.go
Serverengine/server/server.go

Calls

no outgoing calls

Tested by

no test coverage detected