@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
9 lines • 406 B
TypeScript
/**
* Encode one fd_readdir entry; d_next and d_ino are the entry's index + 1.
*
* @param index - zero-based position of the entry in the listing.
* @param name - the entry's name, already encoded.
* @param filetype - preview1 filetype, FT_UNKNOWN when not known.
*/
export declare function packDirent(index: number, name: Uint8Array, filetype: number): Uint8Array;
//# sourceMappingURL=list.d.ts.map