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

Method Hash

utils/merkletrie/noder/noder_test.go:23–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22func (n noderMock) String() string { return n.Name() }
23func (n noderMock) Hash() []byte { return n.hash }
24func (n noderMock) Name() string { return n.name }
25func (n noderMock) IsDir() bool { return n.isDir }
26func (n noderMock) Children() ([]Noder, error) { return n.children, nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected