MCPcopy Index your code
hub / github.com/go-git/go-git / isSeen

Method isSeen

object_walker.go:42–45  ·  view source on GitHub ↗
(hash plumbing.Hash)

Source from the content-addressed store, hash-verified

40}
41
42func (p *objectWalker) isSeen(hash plumbing.Hash) bool {
43 _, seen := p.seen[hash]
44 return seen
45}
46
47func (p *objectWalker) add(hash plumbing.Hash) {
48 p.seen[hash] = struct{}{}

Callers 3

walkObjectTreeMethod · 0.95
createNewObjectPackMethod · 0.80
PruneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected