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

Function ucbool

git.go:349–354  ·  view source on GitHub ↗
(b bool)

Source from the content-addressed store, hash-verified

347}
348
349func ucbool(b bool) C.uint {
350 if b {
351 return C.uint(1)
352 }
353 return C.uint(0)
354}
355
356func setCallbackError(errorMessage **C.char, err error) C.int {
357 if err != nil {

Callers 1

InitRepositoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…