MCPcopy Index your code
hub / github.com/github/git-sizer / HasNext

Method HasNext

git/obj_head_iter.go:40–42  ·  view source on GitHub ↗

HasNext returns true iff there are more headers to retrieve.

()

Source from the content-addressed store, hash-verified

38
39// HasNext returns true iff there are more headers to retrieve.
40func (iter *ObjectHeaderIter) HasNext() bool {
41 return len(iter.data) > 0
42}
43
44// Next returns the key and value of the next header.
45func (iter *ObjectHeaderIter) Next() (string, string, error) {

Callers 2

ParseTagFunction · 0.95
ParseCommitFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected