@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
12 lines • 644 B
TypeScript
import type { PathSpec } from '../../../../types.ts';
import type { CommandFnResult, Context } from '../../../config.ts';
import { type GenericCommand } from '../adapter.ts';
import { type CommandFiles } from '../files.ts';
export declare const BUILDER: GenericCommand;
/**
* Walk readdir/stat for find. Each start point asks the mount's `readTree`
* for its subtree first, down to the expression's `-maxdepth`, so the walk
* costs one call where the mount can answer.
*/
export declare function findWalk(files: CommandFiles, resolved: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>;
//# sourceMappingURL=find.d.ts.map