UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

12 lines • 712 B
import type { GDriveAccessor } from '../../accessor/gdrive.ts'; import { type FileStat, type PathSpec } from '../../types.ts'; import type { Handed } from '../../vfs/types.ts'; /** * Copy a file or folder server-side, handed what is at `src` and at `dst` * and its parent. `cp -r` merges into an existing folder and creates a * missing one, mirroring the msgraph copy_tree. Answers the stat of what the * copy made, null when it merged into a folder already there. Mirrors * Python's `copy`. */ export declare const copy: (accessor: GDriveAccessor, src: PathSpec, dst: PathSpec, _signal?: AbortSignal | undefined, handed?: Handed | undefined) => Promise<FileStat | null>; //# sourceMappingURL=copy.d.ts.map