@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
15 lines • 867 B
TypeScript
import type { NOOPAccessor } from '../../../../accessor/base.ts';
import type { PathSpec } from '../../../../types.ts';
import type { CommandFnResult, Context } from '../../../config.ts';
/**
* List index paths, including conflict stages when requested.
*
* Without a pathspec the listing is the start directory's subtree; with one
* it is whatever the pathspec names, anywhere in the tree, spelled relative to
* the start directory (`ls-files ..` from a subdirectory prints
* `../README.md`).
*/
export declare function lsFiles(_accessor: NOOPAccessor, paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>;
/** List tree metadata without reading file contents. */
export declare function lsTree(_accessor: NOOPAccessor, _paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>;
//# sourceMappingURL=ls_files.d.ts.map