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

Method toC

git.go:215–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213}
214
215func (oid *Oid) toC() *C.git_oid {
216 return (*C.git_oid)(unsafe.Pointer(oid))
217}
218
219func NewOid(s string) (*Oid, error) {
220 if len(s) > C.GIT_OID_HEXSZ {

Callers 15

commitCreateCallbackFunction · 0.45
CommitMethod · 0.45
populateCIndexEntryFunction · 0.45
WriteTreeToMethod · 0.45
WriteTreeMethod · 0.45
lookupTypeMethod · 0.45
lookupPrefixTypeMethod · 0.45
SetHeadDetachedMethod · 0.45
CreateCommitMethod · 0.45
CreateCommitBufferMethod · 0.45
CreateCommitFromIdsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected