MCPcopy
hub / github.com/go-git/go-git / Hasher

Interface Hasher

utils/merkletrie/noder/noder.go:16–18  ·  view source on GitHub ↗

Hasher interface is implemented by types that can tell you their hash.

Source from the content-addressed store, hash-verified

14// Hasher interface is implemented by types that can tell you
15// their hash.
16type Hasher interface {
17 Hash() []byte
18}
19
20// Equal functions take two hashers and return if they are equal.
21//

Callers 16

TestNewFileEmptyMethod · 0.65
HashEqualFunction · 0.65
calculateHashMethod · 0.65
TestNewDirectoryEmptyMethod · 0.65
TestRacyGitMethod · 0.95
TestZeroIndexModTimeMethod · 0.95

Implementers 15

fileutils/merkletrie/internal/fsnoder/file
dirutils/merkletrie/internal/fsnoder/dir.
nodeutils/merkletrie/index/node.go
noderMockutils/merkletrie/noder/noder_test.go
nodeutils/merkletrie/filesystem/node.go
EncodedObjectstorage/filesystem/dotgit/reader.go
Referenceplumbing/reference.go
MemoryObjectplumbing/memory.go
dummyObjectplumbing/cache/object_test.go
changeEntryWrapperplumbing/object/patch.go
treeNoderplumbing/object/treenoder.go
SortReadObjectplumbing/object/tree_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…