mirror of
https://github.com/immich-app/walkrs.git
synced 2026-09-30 13:32:57 +08:00
16 lines
332 B
TypeScript
16 lines
332 B
TypeScript
import type { WalkOptions } from '../dist/index.js';
|
|
|
|
export type { WalkOptions } from '../dist/index.js';
|
|
|
|
export type WalkError = {
|
|
path?: string;
|
|
message: string;
|
|
};
|
|
|
|
export type WalkBatch = {
|
|
files: string[];
|
|
errors: WalkError[];
|
|
};
|
|
|
|
export function walk(options: WalkOptions): AsyncGenerator<WalkBatch, void, unknown>;
|