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

Method add

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

Source from the content-addressed store, hash-verified

45}
46
47func (p *objectWalker) add(hash plumbing.Hash) {
48 p.seen[hash] = struct{}{}
49}
50
51// walkObjectTree walks over all objects and remembers references
52// to them in the objectWalker. This is used instead of the revlist

Callers 1

walkObjectTreeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected