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

Method Get

config/delayed_environment.go:20–23  ·  view source on GitHub ↗

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

(key string)

Source from the content-addressed store, hash-verified

18// Get is shorthand for calling the e.Load(), and then returning
19// `e.env.Get(key)`.
20func (e *delayedEnvironment) Get(key string) (string, bool) {
21 e.Load()
22 return e.env.Get(key)
23}
24
25// Get is shorthand for calling the e.Load(), and then returning
26// `e.env.GetAll(key)`.

Callers

nothing calls this directly

Calls 2

LoadMethod · 0.95
GetMethod · 0.65

Tested by

no test coverage detected