@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
9 lines • 454 B
TypeScript
import type { RAMAccessor } from '../../accessor/ram.ts';
import type { PathSpec } from '../../types.ts';
/**
* Remove one key. A live descriptor is the shell's to release when its
* command ends, so unlinking one is EPERM and it stays readable (GNU:
* `rm /dev/fd/63` is "Operation not permitted"). Mirrors Python's unlink.
*/
export declare function unlink(accessor: RAMAccessor, path: PathSpec): Promise<void>;
//# sourceMappingURL=unlink.d.ts.map