MCPcopy
hub / github.com/go-git/go-git / EncodedObjectSliceIter

Struct EncodedObjectSliceIter

plumbing/storer/object.go:178–180  ·  view source on GitHub ↗

EncodedObjectSliceIter implements EncodedObjectIter. It iterates over a series of objects stored in a slice and yields each one in turn when Next() is called. The EncodedObjectSliceIter must be closed with a call to Close() when it is no longer needed.

Source from the content-addressed store, hash-verified

176// The EncodedObjectSliceIter must be closed with a call to Close() when it is
177// no longer needed.
178type EncodedObjectSliceIter struct {
179 series []plumbing.EncodedObject
180}
181
182// NewEncodedObjectSliceIter returns an object iterator for the given slice of
183// objects.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected