Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
16
type
EncodedObject
interface
{
17
Hash() Hash
18
Type() ObjectType
19
SetType(ObjectType)
20
Size() int64
Callers
15
copyTreeToStorageRecursive
Method · 0.95
TestMaxObjectSize
Method · 0.95
TestMergeFF
Method · 0.65
TestMergeFF_Invalid
Method · 0.65
TestPlainCloneNoCheckout
Method · 0.65
TestFetch
Method · 0.65
TestCloneDeep
Method · 0.65
testCloneSingleBranchAndNonHEADReference
Method · 0.65
TestCloneSingleBranchHEADMain
Method · 0.65
TestCloneSingleBranch
Method · 0.65
TestCloneDetachedHEAD
Method · 0.65
TestCloneDetachedHEADAndSingle
Method · 0.65
Implementers
6
EncodedObject
storage/filesystem/dotgit/reader.go
MemoryObject
plumbing/memory.go
dummyObject
plumbing/cache/object_test.go
SortReadObject
plumbing/object/tree_test.go
FSObject
plumbing/format/packfile/fsobject.go
dummyObject
plumbing/format/packfile/object_pack_t
Calls
no outgoing calls
Tested by
15
TestMaxObjectSize
Method · 0.76
TestMergeFF
Method · 0.52
TestMergeFF_Invalid
Method · 0.52
TestPlainCloneNoCheckout
Method · 0.52
TestFetch
Method · 0.52
TestCloneDeep
Method · 0.52
testCloneSingleBranchAndNonHEADReference
Method · 0.52
TestCloneSingleBranchHEADMain
Method · 0.52
TestCloneSingleBranch
Method · 0.52
TestCloneDetachedHEAD
Method · 0.52
TestCloneDetachedHEADAndSingle
Method · 0.52
TestCloneDetachedHEADAndShallow
Method · 0.52