UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

13 lines • 649 B
import type { Accessor } from '../../accessor/base.ts'; import { FileStat, type PathSpec } from '../../types.ts'; import type { ReadFn } from '../hierarchy/read.ts'; import type { VectorTree } from './types.ts'; /** * Build a store's stat: a group proves its table, a row its bytes. * * A row a listing names is answered by the mount from that listing, which * carries its rendered size; one no listing names is rendered here, so the * size is exact either way. */ export declare function makeStat<A extends Accessor>(tree: VectorTree<A>, read: ReadFn<A>): (accessor: A, path: PathSpec) => Promise<FileStat>; //# sourceMappingURL=stat.d.ts.map