import type { Accessor } from '../../../accessor/base.ts'; import type { IndexCacheStore } from '../../../cache/index/store.ts'; import type { WalkFn } from '../generic/archive/walk.ts'; import type { CommandIO } from './adapter.ts'; /** * The subtree listing tar and zip both walk with. * * Reuses find's walk so an archiver classifies an entry exactly the way find * does (through stat, never by name). The two calls a directory operand makes * share one readdir cache, so the second is answered from the index instead of * the backend. * * walkFind stands in for a backend's native find op, so it answers in * mount-relative keys; both archivers name members from virtual paths, so they * are lifted back here the way findGeneric lifts them. A directory the walk * could not open rides along (as the virtual path the walk recorded), so the * archiver can report it the way GNU does instead of silently leaving its * contents out. */ export declare function walkOf(ops: CommandIO, accessor: Accessor, index: IndexCacheStore | undefined): WalkFn; //# sourceMappingURL=archive_io.d.ts.map