MCPcopy Create free account
hub / github.com/devcontainers/cli / getSystemVarFolder

Function getSystemVarFolder

src/spec-common/injectHeadless.ts:333–335  ·  view source on GitHub ↗
(params: ResolverParameters)

Source from the content-addressed store, hash-verified

331}
332
333export function getSystemVarFolder(params: ResolverParameters): string {
334 return params.containerSystemDataFolder || '/var/devcontainer';
335}
336
337export async function setupInContainer(params: ResolverParameters, containerProperties: ContainerProperties, config: CommonDevContainerConfig, mergedConfig: CommonMergedDevContainerConfig, lifecycleCommandOriginMap: LifecycleHooksInstallMap) {
338 await patchEtcEnvironment(params, containerProperties);

Callers 2

patchEtcEnvironmentFunction · 0.85
patchEtcProfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected