Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MertJSX/folderhost
/ Loop
Method
Loop
utils/cache/loop.go:3–8 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
package
cache
2
3
func
(c *Cache[KeyType, DataType]) Loop() {
4
for
{
5
<-c.Ticker.C
6
c.LifeCycle()
7
}
8
}
Callers
1
CreateCache
Function · 0.80
Calls
1
LifeCycle
Method · 0.95
Tested by
no test coverage detected