@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
15 lines • 831 B
TypeScript
import { FlagView } from '../../spec/flag_view.ts';
import { LineFacts, type PathSpec } from '../../../types.ts';
import type { CommandFnResult, Context } from '../../config.ts';
/**
* List, test, pipe or extract an archive through mirage-rs's unzip, which
* reads it from a host spool and writes each member where -d or the working
* directory says, on whichever mount owns it. Mirrors unzip.py.
*/
export declare function unzipGeneric(paths: PathSpec[], members: readonly string[], ctx: Context, stream: (p: PathSpec) => AsyncIterable<Uint8Array>): CommandFnResult;
/**
* An unzip line writes unless it lists, tests or pipes (`-l`, `-t`, `-v`,
* `-p`, `-Z`). Mirrors Python's `facts`.
*/
export declare function facts(fl: FlagView, _operands: readonly (string | PathSpec)[]): LineFacts;
//# sourceMappingURL=unzip.d.ts.map