CustomDir <P>
Implements
- Dir<P>
Index
Constructors
Properties
Methods
Constructors
constructor
Type parameters
- P: Path
Parameters
path: P
nextDirent: () => null | DirentNoPath
opts: CustomDirOptions = {}
Returns CustomDir<P>
Properties
publicclosed
publicreadonlypath
Methods
[asyncIterator]
Returns AsyncGenerator<DirentNoPath, void, unknown>
close
Returns Promise<void>
closeSync
Returns void
read
Returns Promise<DirentNoPath>
readSync
Returns null | DirentNoPath
throwIfClosed
Returns void