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

Struct testFile

plumbing/format/diff/unified_encoder_test.go:1045–1049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1043}
1044
1045type testFile struct {
1046 path string
1047 mode filemode.FileMode
1048 seed string
1049}
1050
1051func (t testFile) Hash() plumbing.Hash {
1052 return plumbing.ComputeHash(plumbing.BlobObject, []byte(t.seed))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected