UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

10 lines • 491 B
import type { RAMAccessor } from '../../accessor/ram.ts'; import { FileStat, type PathSpec } from '../../types.ts'; import type { RAMStore } from '../../vfs/ram/store.ts'; /** * What `stat` answers for the normalized key `p`, null when nothing is there. * Mirrors Python's `key_stat`. */ export declare function keyStat(store: RAMStore, p: string): FileStat | null; export declare function stat(accessor: RAMAccessor, path: PathSpec): Promise<FileStat>; //# sourceMappingURL=stat.d.ts.map