A directory entry without metadata, returned by readDirSync when called with
{ withMetadata: false }.
It carries no handle-like object: listing a large tree this way skips one getFile()
lookup per file and keeps the response small, at the cost of a separate statSync
call when metadata is actually needed.
A directory entry without metadata, returned by
readDirSyncwhen called with{ withMetadata: false }.It carries no handle-like object: listing a large tree this way skips one
getFile()lookup per file and keeps the response small, at the cost of a separatestatSynccall when metadata is actually needed.Since
2.3.0
See
readDirSync for the options that produce it
Example