import { Dir } from "https://deno.land/std@0.95.0/node/fs.ts";
Properties
private
asyncIterator: AsyncIterator<Deno.DirEntry> | nullprivate
syncIterator: Iterator<Deno.DirEntry> | nullMethods
close(callback?: (...args: any[]) => void): Promise<void>
Unlike Node, Deno does not require managing resource ids for reading directories, and therefore does not need to close directories when finished reading.
closeSync(): void
Unlike Node, Deno does not require managing resource ids for reading directories, and therefore does not need to close directories when finished reading
read(callback?: (...args: any[]) => void): Promise<Dirent | null>
readSync(): Dirent | null
[Symbol.asyncIterator](): AsyncIterableIterator<Dirent>