@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
10 lines • 503 B
TypeScript
import type { TiDBFilesystemAccessor } from '../../accessor/tidb_filesystem.ts';
import { FileStat, type PathSpec } from '../../types.ts';
import type { Entry } from './types.ts';
export declare function fileStat(entry: Entry): FileStat;
/**
* A path's metadata from one HEAD; a trailing slash asks for the directory
* of that name, as it does on an object store.
*/
export declare function stat(accessor: TiDBFilesystemAccessor, path: PathSpec): Promise<FileStat>;
//# sourceMappingURL=stat.d.ts.map