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

Interface EncodedObject

plumbing/object.go:16–24  ·  view source on GitHub ↗

Object is a generic representation of any git object

Source from the content-addressed store, hash-verified

14
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
21 SetSize(int64)
22 Reader() (io.ReadCloser, error)
23 Writer() (io.WriteCloser, error)
24}
25
26// DeltaObject is an EncodedObject representing a delta.
27type DeltaObject interface {

Callers 55

TestMaxObjectSizeMethod · 0.95
TestMergeFFMethod · 0.65
TestMergeFF_InvalidMethod · 0.65
TestFetchMethod · 0.65
TestCloneDeepMethod · 0.65
getMethod · 0.95
TestFetchMethod · 0.65
TestCloneDeepMethod · 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

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…