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

Method SetSize

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

Source from the content-addressed store, hash-verified

19 SetType(ObjectType)
20 Size() int64
21 SetSize(int64)
22 Reader() (io.ReadCloser, error)
23 Writer() (io.WriteCloser, error)
24}

Callers 7

copyFileToStorageMethod · 0.95
TestMaxObjectSizeMethod · 0.95
getFromUnpackedMethod · 0.65
getNextObjectMethod · 0.65
getNextMemoryObjectMethod · 0.65
ApplyDeltaFunction · 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 2

TestMaxObjectSizeMethod · 0.76