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

Method Int

config/delayed_environment.go:41–44  ·  view source on GitHub ↗

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

(key string, def int)

Source from the content-addressed store, hash-verified

39// Get is shorthand for calling the e.Load(), and then returning
40// `e.env.Int(key, def)`.
41func (e *delayedEnvironment) Int(key string, def int) int {
42 e.Load()
43 return e.env.Int(key, def)
44}
45
46// All returns a copy of all the key/value pairs for the current git config.
47func (e *delayedEnvironment) All() map[string][]string {

Callers

nothing calls this directly

Calls 2

LoadMethod · 0.95
IntMethod · 0.65

Tested by

no test coverage detected