UNPKG

snyk

Version:

snyk library and cli utility

10 lines (9 loc) 369 B
/** * Walk the provided directory tree, depth first, yielding the matched filename * to the caller. An optional `maxDepth` argument can be provided to limit how * deep in the file tree the search will go. */ export declare function makeDirectoryIterator(root: string, options?: { maxDepth?: number; includeDotfiles?: boolean; }): Generator<any, void, any>;