UNPKG

fs-iterator

Version:

A file system iterator with filter and asyncIterator iterafaces. Supports Node 0.10 and above

5 lines (4 loc) 254 B
import type Iterator from '../FSIterator.ts'; import type { Entry } from '../types.ts'; export type Callback = (error?: Error, keep?: boolean) => undefined; export default function filter(iterator: Iterator, entry: Entry, callback: Callback): undefined;