@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
10 lines • 521 B
TypeScript
import type { GDriveAccessor } from '../../accessor/gdrive.ts';
import { type FileStat, type PathSpec } from '../../types.ts';
import type { Handed } from '../../vfs/types.ts';
/**
* Move an item, replacing what is at the destination, handed what is at
* `src` and its parent and at `dst` and its parent. Mirrors Python's
* `rename`.
*/
export declare const rename: (accessor: GDriveAccessor, src: PathSpec, dst: PathSpec, handed?: Handed | undefined) => Promise<FileStat | null>;
//# sourceMappingURL=rename.d.ts.map