UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

11 lines • 655 B
import type { TiDBFilesystemAccessor } from '../../accessor/tidb_filesystem.ts'; import type { ByteSource } from '../../io/types.ts'; import { type PathSpec } from '../../types.ts'; /** * Add bytes to the end of a file. A file drive9 keeps in object storage takes * them natively, so only its last part and the new bytes move. Any other path * is read and written back whole. The fallback refuses missing-file creation * because its upload cannot enforce create-only, and it refuses directories. */ export declare function append(accessor: TiDBFilesystemAccessor, path: PathSpec, data: ByteSource): Promise<void>; //# sourceMappingURL=append.d.ts.map