MCPcopy Create free account
hub / github.com/celer-pkg/celer / ResetMetaCache

Function ResetMetaCache

pkgcache/metadata.go:25–30  ·  view source on GitHub ↗

ResetMetaCache clears the pkgcache-level buildMeta cache. Called alongside configs.ResetMetaCache at the start of each celer command.

()

Source from the content-addressed store, hash-verified

23// ResetMetaCache clears the pkgcache-level buildMeta cache. Called alongside
24// configs.ResetMetaCache at the start of each celer command.
25func ResetMetaCache() {
26 metaCache.Range(func(k, v any) bool {
27 metaCache.Delete(k)
28 return true
29 })
30}
31
32type portType int
33

Callers 1

ResetMetaCacheFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected