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

Method Hash

plumbing/format/diff/unified_encoder_test.go:1051–1053  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1049}
1050
1051func (t testFile) Hash() plumbing.Hash {
1052 return plumbing.ComputeHash(plumbing.BlobObject, []byte(t.seed))
1053}
1054
1055func (t testFile) Mode() filemode.FileMode {
1056 return t.mode

Callers

nothing calls this directly

Calls 1

ComputeHashFunction · 0.92

Tested by

no test coverage detected