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

Function cbool

git.go:342–347  ·  view source on GitHub ↗
(b bool)

Source from the content-addressed store, hash-verified

340}
341
342func cbool(b bool) C.int {
343 if b {
344 return C.int(1)
345 }
346 return C.int(0)
347}
348
349func ucbool(b bool) C.uint {
350 if b {

Callers 15

SetWorkdirMethod · 0.85
CreateBranchMethod · 0.85
MoveMethod · 0.85
DiscoverFunction · 0.85
smartTransportCallbackFunction · 0.85
CreateMethod · 0.85
CreateSymbolicMethod · 0.85
RenameMethod · 0.85
populateCloneOptionsFunction · 0.85
ParseRefspecFunction · 0.85
populateCheckoutOptionsFunction · 0.85
CreateLightweightMethod · 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…