MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / resolveStorage

Function resolveStorage

apps/local/src/executor.ts:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32const LOCAL_SUBJECT = "local";
33
34const resolveStorage = (): ResolvedStorage => {
35 const dataDir = process.env.EXECUTOR_DATA_DIR ?? join(homedir(), ".executor");
36 fs.mkdirSync(dataDir, { recursive: true });
37 return { dataDir };
38};
39
40// Hash suffix disambiguates same-basename folders so two projects with
41// identical directory names cannot collide on the same tenant id.

Callers 1

createLocalExecutorLayerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected