MCPcopy
hub / github.com/go-git/go-git / IsTrue

Method IsTrue

config/optbool.go:32–32  ·  view source on GitHub ↗

IsTrue returns whether the value is explicitly true.

()

Source from the content-addressed store, hash-verified

30
31// IsTrue returns whether the value is explicitly true.
32func (o OptBool) IsTrue() bool { return o == OptBoolTrue }
33
34// IsSet returns whether the value was explicitly specified (true or false).
35func (o OptBool) IsSet() bool { return o != OptBoolUnset }

Callers 2

FormatBoolMethod · 0.95
WorktreeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected