MCPcopy Index your code
hub / github.com/devcontainers/cli / getUserEnvCacheFilePath

Function getUserEnvCacheFilePath

src/spec-common/injectHeadless.ts:834–836  ·  view source on GitHub ↗
(userEnvProbe: UserEnvProbe, cacheFolder: string)

Source from the content-addressed store, hash-verified

832}
833
834function getUserEnvCacheFilePath(userEnvProbe: UserEnvProbe, cacheFolder: string): string {
835 return path.posix.join(cacheFolder, `env-${userEnvProbe}.json`);
836}
837
838async function runUserEnvProbe(userEnvProbe: UserEnvProbe, params: { allowSystemConfigChange: boolean; output: Log }, containerProperties: { shell: string; remoteExec: ExecFunction; installFolder?: string; env?: NodeJS.ProcessEnv; shellServer?: ShellServer; launchRootShellServer?: (() => Promise<ShellServer>); user?: string }, cmd: string, sep: string) {
839 if (userEnvProbe === 'none') {

Callers 2

readUserEnvFromCacheFunction · 0.85
updateUserEnvCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected