MCPcopy
hub / github.com/git-lfs/git-lfs / Size

Method Size

git/object_scanner.go:115–117  ·  view source on GitHub ↗

Size returns the size in bytes of the object that was last scanned for.

()

Source from the content-addressed store, hash-verified

113
114// Size returns the size in bytes of the object that was last scanned for.
115func (s *ObjectScanner) Size() int64 {
116 return s.object.Size
117}
118
119// Type returns the type of the object that was last scanned for.
120func (s *ObjectScanner) Type() string {

Callers 15

FileExistsOfSizeFunction · 0.80
CloneFileFunction · 0.80
SaveMethod · 0.80
loadAndMergeIfNeededMethod · 0.80
TestStoreReduceSizeFunction · 0.80
TestRemoteLocksWithCacheFunction · 0.80
nextMethod · 0.80
CleanMethod · 0.80
DecodePointerFromFileFunction · 0.80
SmudgeToFileMethod · 0.80
SmudgeMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestStoreReduceSizeFunction · 0.64
TestRemoteLocksWithCacheFunction · 0.64