@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
10 lines • 415 B
TypeScript
import { PathSpec } from '../../../../types.ts';
/**
* Where extraction lands: the explicit operand, else the cwd.
*
* The explicit operand is tar's last -C or unzip's -d, already validated
* before extracting any members, as a virtual path. Mirrors Python's
* extract_dest.
*/
export declare function extractDest(explicit: PathSpec | string | null, cwd: string): string;
//# sourceMappingURL=extract.d.ts.map