MCPcopy
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.
77func (cache *Cache) NewIterator() *Iterator {
78 return &Iterator{
79 cache: cache,
80 }
81}

Callers 3

TestIteratorFunction · 0.95
TestIteratorExpireAtFunction · 0.95

Calls

no outgoing calls

Tested by 3

TestIteratorFunction · 0.76
TestIteratorExpireAtFunction · 0.76