MCPcopy Create free account
hub / github.com/cortexkit/magic-context / ensureOutputArea

Function ensureOutputArea

packages/plugin/scripts/longmemeval/runner.ts:952–955  ·  view source on GitHub ↗
(config: RunnerConfig)

Source from the content-addressed store, hash-verified

950}
951
952async function ensureOutputArea(config: RunnerConfig): Promise<void> {
953 await mkdir(config.paths.outputDir, { recursive: true });
954 await ensureParentDirectory(config.paths.logFile);
955}
956
957async function main(): Promise<void> {
958 const argv = process.argv.slice(2);

Callers 1

mainFunction · 0.85

Calls 1

ensureParentDirectoryFunction · 0.85

Tested by

no test coverage detected