@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
12 lines • 521 B
TypeScript
import type { FileStat } from '../../../types.ts';
import type { NodeMeta } from './namespace.ts';
/**
* Overlay namespace node attrs onto a backend stat.
*
* Backends without a native attribute slot store chmod/chown/touch
* results in the namespace node table; every stat surface (dispatch,
* `ws.vfs`, FUSE) merges through here (overlay wins per-field)
* so they cannot disagree.
*/
export declare function mergeOverlayStat(meta: NodeMeta | null, stat: FileStat): FileStat;
//# sourceMappingURL=overlay.d.ts.map