UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

10 lines • 521 B
import type { BoxAccessor } from '../../accessor/box.ts'; import type { FileStat, PathSpec } from '../../types.ts'; import type { Handed } from '../../vfs/types.ts'; /** * Make one folder inside the folder its parent path names. `mkdir -p` reaches * here one level at a time, each handed the level above as its parent. * Mirrors Python's `mkdir`. */ export declare function mkdir(accessor: BoxAccessor, path: PathSpec, parents?: boolean, handed?: Handed): Promise<FileStat | null>; //# sourceMappingURL=mkdir.d.ts.map