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

Method Size

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

Source from the content-addressed store, hash-verified

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

Callers 15

getMethod · 0.95
addIndexFromFileMethod · 0.65
TestCheckoutKeepMethod · 0.65
TestAddUntrackedMethod · 0.65
TestAddSymlinkMethod · 0.65
copyFileToStorageMethod · 0.65
doUpdateFileToIndexMethod · 0.65
newChildNodeMethod · 0.65
TestRacyGitMethod · 0.65
EncodedObjectSizeMethod · 0.65
SetEncodedObjectMethod · 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 7

TestCheckoutKeepMethod · 0.52
TestAddUntrackedMethod · 0.52
TestAddSymlinkMethod · 0.52
TestRacyGitMethod · 0.52
TestNewObjectMethod · 0.52
TestIssue55Function · 0.52
TestNewObjectPackMethod · 0.52