MCPcopy
hub / github.com/git-lfs/git-lfs / Bool

Method Bool

config/delayed_environment.go:34–37  ·  view source on GitHub ↗

Get is shorthand for calling the e.Load(), and then returning `e.env.Bool(key, def)`.

(key string, def bool)

Source from the content-addressed store, hash-verified

32// Get is shorthand for calling the e.Load(), and then returning
33// `e.env.Bool(key, def)`.
34func (e *delayedEnvironment) Bool(key string, def bool) bool {
35 e.Load()
36 return e.env.Bool(key, def)
37}
38
39// Get is shorthand for calling the e.Load(), and then returning
40// `e.env.Int(key, def)`.

Callers

nothing calls this directly

Calls 2

LoadMethod · 0.95
BoolMethod · 0.65

Tested by

no test coverage detected