Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/git2go
/ AsObject
Method
AsObject
blob.go:23–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
}
22
23
func
(b *Blob) AsObject() *Object {
24
return
&b.Object
25
}
26
27
func
(v *Blob) Size() int64 {
28
ret := int64(C.git_blob_rawsize(v.cast_ptr))
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected