@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
10 lines • 489 B
TypeScript
import type { RAMAccessor } from '../../accessor/ram.ts';
import type { PathSpec } from '../../types.ts';
/**
* Move one key, a directory with its subtree. A live descriptor at either
* end is the shell's to release, so moving one or over one is EPERM (GNU:
* `mv /dev/fd/63 /dev/fd/62` is "Operation not permitted"). Mirrors
* Python's rename.
*/
export declare function rename(accessor: RAMAccessor, src: PathSpec, dst: PathSpec): Promise<void>;
//# sourceMappingURL=rename.d.ts.map