UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

10 lines • 625 B
import type { PathSpec } from '../../../types.ts'; import type { CommandFnResult, Context } from '../../config.ts'; import { type StoredDigest } from './checksum.ts'; /** * Run BSD md5 over resolved operands. An operand's digest is asked of * `stored` first, once `stat` has found a file there, and the file is read * only when there is none. Mirrors Python's md5_generic. */ export declare function md5Generic(paths: PathSpec[], ctx: Context, stream: (p: PathSpec) => AsyncIterable<Uint8Array>, stat?: (p: PathSpec) => Promise<unknown>, stored?: StoredDigest): Promise<CommandFnResult>; //# sourceMappingURL=md5.d.ts.map