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

Function getLocalCacheFolder

src/spec-node/utils.ts:643–645  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

641}
642
643export async function getLocalCacheFolder() {
644 return path.join(os.tmpdir(), process.platform === 'linux' ? `devcontainercli-${await getLocalUsername()}` : 'devcontainercli');
645}
646
647export function getEmptyContextFolder(common: ResolverParameters) {
648 return common.cliHost.path.join(common.persistedFolder, 'empty-folder');

Callers 1

Calls 2

getLocalUsernameFunction · 0.90
tmpdirMethod · 0.80

Tested by

no test coverage detected