MCPcopy Create free account
hub / github.com/go-git/go-git / Close

Method Close

storage/filesystem/object.go:854–856  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

852}
853
854func (iter *objectsIter) Close() {
855 iter.h = []plumbing.Hash{}
856}
857
858func hashListAsMap(l []plumbing.Hash) map[plumbing.Hash]struct{} {
859 m := make(map[plumbing.Hash]struct{}, len(l))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected