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

Method Hash

plumbing/object.go:17–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15// Object is a generic representation of any git object
16type EncodedObject interface {
17 Hash() Hash
18 Type() ObjectType
19 SetType(ObjectType)
20 Size() int64

Callers 15

TestMaxObjectSizeMethod · 0.95
TestMergeFFMethod · 0.65
TestMergeFF_InvalidMethod · 0.65
TestFetchMethod · 0.65
TestCloneDeepMethod · 0.65
TestCloneSingleBranchMethod · 0.65
TestCloneDetachedHEADMethod · 0.65

Implementers 6

EncodedObjectstorage/filesystem/dotgit/reader.go
MemoryObjectplumbing/memory.go
dummyObjectplumbing/cache/object_test.go
SortReadObjectplumbing/object/tree_test.go
FSObjectplumbing/format/packfile/fsobject.go
dummyObjectplumbing/format/packfile/object_pack_t

Calls

no outgoing calls

Tested by 15

TestMaxObjectSizeMethod · 0.76
TestMergeFFMethod · 0.52
TestMergeFF_InvalidMethod · 0.52
TestFetchMethod · 0.52
TestCloneDeepMethod · 0.52
TestCloneSingleBranchMethod · 0.52
TestCloneDetachedHEADMethod · 0.52