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

Function fetchEnvironment

subprocess/subprocess.go:203–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201var superPrefixEnv = "GIT_INTERNAL_SUPER_PREFIX="
202
203func fetchEnvironment() []string {
204 envMu.Lock()
205 defer envMu.Unlock()
206
207 return fetchEnvironmentInternal()
208}
209
210// fetchEnvironmentInternal should only be called from fetchEnvironment or
211// ResetEnvironment, who will hold the required lock.

Callers 2

ExecCommandFunction · 0.85
ExecCommandFunction · 0.85

Calls 3

fetchEnvironmentInternalFunction · 0.85
LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected