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

Method Hash

plumbing/format/diff/patch.go:45–45  ·  view source on GitHub ↗

Hash returns the File Hash.

()

Source from the content-addressed store, hash-verified

43type File interface {
44 // Hash returns the File Hash.
45 Hash() plumbing.Hash
46 // Mode returns the FileMode.
47 Mode() filemode.FileMode
48 // Path returns the complete Path to the file, including the filename.

Callers 15

PutMethod · 0.65
TestPutSameObjectMethod · 0.65
TestPutBigObjectMethod · 0.65
TestPutCacheOverflowMethod · 0.65
TestClearMethod · 0.65
SetUpSuiteMethod · 0.65
TestObjectLookupIterMethod · 0.65
TestObjectSliceIterMethod · 0.65

Implementers 2

changeEntryWrapperplumbing/object/patch.go
testFileplumbing/format/diff/unified_encoder_t

Calls

no outgoing calls

Tested by 15

TestPutSameObjectMethod · 0.52
TestPutBigObjectMethod · 0.52
TestPutCacheOverflowMethod · 0.52
TestClearMethod · 0.52
SetUpSuiteMethod · 0.52
TestObjectLookupIterMethod · 0.52
TestObjectSliceIterMethod · 0.52
HasEncodedObjectMethod · 0.52