Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coocood/freecache
/ NewIterator
Method
NewIterator
iterator.go:77–81 ·
view source on GitHub ↗
NewIterator creates a new iterator for the cache.
()
Source
from the content-addressed store, hash-verified
75
76
// NewIterator creates a new iterator for the cache.
77
func
(cache *Cache) NewIterator() *Iterator {
78
return
&Iterator{
79
cache: cache,
80
}
81
}
Callers
3
TestIterator
Function · 0.95
TestIteratorExpireAt
Function · 0.95
TestSetLargerEntryDeletesWrongEntry
Function · 0.95
Calls
no outgoing calls
Tested by
3
TestIterator
Function · 0.76
TestIteratorExpireAt
Function · 0.76
TestSetLargerEntryDeletesWrongEntry
Function · 0.76