MCPcopy Create free account
hub / github.com/MertJSX/folderhost / createTestCache

Function createTestCache

test/cache_test.go:157–164  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

155}
156
157func createTestCache(t *testing.T) *cache.Cache[string, string] {
158 t.Helper()
159
160 return cache.CreateCache[string, string](time.Millisecond, cache.CacheProperties{
161 SetCacheEvent: false,
162 TimeoutCacheEvent: false,
163 })
164}

Callers 5

TestCache_SetAndGetFunction · 0.85
TestCache_DeleteFunction · 0.85
TestCache_ClearFunction · 0.85
TestCache_ExpirationFunction · 0.85

Calls 1

CreateCacheFunction · 0.92

Tested by

no test coverage detected