MCPcopy Create free account
hub / github.com/evcc-io/evcc / Get

Method Get

util/cache.go:46–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44// Cacheable is the interface for a resettable cache
45type Cacheable[T any] interface {
46 Get() (T, error)
47 Reset()
48}
49

Callers 15

dropCacheBustingFunction · 0.65
StringGetterMethod · 0.65
pluginFunction · 0.65
HandleCallbackMethod · 0.65
HandleCallbackMethod · 0.65
NewFromConfigFunction · 0.65
RegisteredClientFunction · 0.65
CurrentPowerMethod · 0.65
CurrentsMethod · 0.65
CurrentPowerMethod · 0.65
batterySocMethod · 0.65

Calls

no outgoing calls

Tested by 6

TestHandlerFunction · 0.52
TestMergeRatesAfterFunction · 0.52
TestCachedGetterFunction · 0.52
TestCacheResetFunction · 0.52
TestRetryWithBackoffFunction · 0.52