Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
get
Method · 0.95
addIndexFromFile
Method · 0.65
TestCheckoutKeep
Method · 0.65
TestAddUntracked
Method · 0.65
TestAddSymlink
Method · 0.65
copyFileToStorage
Method · 0.65
doUpdateFileToIndex
Method · 0.65
newChildNode
Method · 0.65
TestRacyGit
Method · 0.65
EncodedObjectSize
Method · 0.65
SetEncodedObject
Method · 0.65
encodedObjectSizeFromPackfile
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
7
TestCheckoutKeep
Method · 0.52
TestAddUntracked
Method · 0.52
TestAddSymlink
Method · 0.52
TestRacyGit
Method · 0.52
TestNewObject
Method · 0.52
TestIssue55
Function · 0.52
TestNewObjectPack
Method · 0.52