@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
10 lines • 549 B
TypeScript
import type { TiDBFilesystemAccessor } from '../../accessor/tidb_filesystem.ts';
import type { FileStat, PathSpec } from '../../types.ts';
/**
* A folder's rows from one listing, sorted by name. drive9 lists a missing
* folder as an empty one, so only an empty listing asks what the path is. A
* name that is both a file and a directory lists once, as the directory, as
* it does on an object store.
*/
export declare function readdir(accessor: TiDBFilesystemAccessor, path: PathSpec): Promise<FileStat[]>;
//# sourceMappingURL=readdir.d.ts.map