Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ClearAPICache
Method · 0.65
testBasicCacheOperations
Function · 0.65
testCacheConcurrentAccess
Function · 0.65
TestCacheIntegration_Simple
Function · 0.65
TestNamespacedCacheIsolation
Function · 0.65
Clear
Method · 0.65
Implementers
2
FileCache
internal/cache/cache.go
BadgerCache
internal/cache/badger_cache.go
Calls
no outgoing calls
Tested by
4
testBasicCacheOperations
Function · 0.52
testCacheConcurrentAccess
Function · 0.52
TestCacheIntegration_Simple
Function · 0.52
TestNamespacedCacheIsolation
Function · 0.52