MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / dirExists

Function dirExists

src/lib/bundle.ts:574–581  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

572}
573
574async function dirExists(path: string): Promise<boolean> {
575 try {
576 const s = await stat(path);
577 return s.isDirectory();
578 } catch {
579 return false;
580 }
581}
582
583/**
584 * Write per-step artifacts under `<tmp>/steps/`. Each step gets up to

Callers 1

commitBundleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected