MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / Clear

Method Clear

internal/cache/cache.go:29–29  ·  view source on GitHub ↗

Clear removes all items from the cache

()

Source from the content-addressed store, hash-verified

27
28 // Clear removes all items from the cache
29 Clear() error
30
31 // Close closes the cache and releases any resources
32 Close() error

Callers 6

ClearAPICacheMethod · 0.65
testBasicCacheOperationsFunction · 0.65
ClearMethod · 0.65

Implementers 2

FileCacheinternal/cache/cache.go
BadgerCacheinternal/cache/badger_cache.go

Calls

no outgoing calls

Tested by 4

testBasicCacheOperationsFunction · 0.52