MCPcopy Create free account
hub / github.com/libgit2/git2go / Size

Method Size

blob.go:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (v *Blob) Size() int64 {
28 ret := int64(C.git_blob_rawsize(v.cast_ptr))
29 runtime.KeepAlive(v)
30 return ret
31}
32
33func (v *Blob) Contents() []byte {
34 size := C.int(C.git_blob_rawsize(v.cast_ptr))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected