MCPcopy
hub / github.com/duke-git/lancet / Reset

Method Reset

iterator/iterator.go:35–35  ·  view source on GitHub ↗

Reset allows for the iteration process over a sequence to be restarted from the beginning. It enables reusing the iterator for multiple traversals without needing to recreate it.

()

Source from the content-addressed store, hash-verified

33 // Reset allows for the iteration process over a sequence to be restarted from the beginning.
34 // It enables reusing the iterator for multiple traversals without needing to recreate it.
35 Reset()
36}
37
38// StopIterator is an interface for stopping Iterator.

Callers 4

ToBytesFunction · 0.65
TestSliceIteratorFunction · 0.65
TestRangeIteratorFunction · 0.65
newSm3Function · 0.65

Implementers 2

Watcherfunction/watcher.go
sm3Digestcryptor/gm_sm3.go

Calls

no outgoing calls

Tested by 2

TestSliceIteratorFunction · 0.52
TestRangeIteratorFunction · 0.52