Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/git2go
/ AsObject
Method
AsObject
object.go:32–32 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
// Objecter lets us accept any kind of Git object in functions.
31
type
Objecter
interface
{
32
AsObject() *Object
33
}
34
35
func
(t ObjectType) String() string {
Callers
2
Create
Method · 0.65
CreateLightweight
Method · 0.65
Implementers
4
Tree
tree.go
Blob
blob.go
Tag
tag.go
Commit
commit.go
Calls
no outgoing calls
Tested by
no test coverage detected