happy-opfs
    Preparing search index...

    Interface DirEntrySlim

    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.

    2.3.0

    readDirSync for the options that produce it

    readDirSync('/documents', { recursive: true, withMetadata: false })
    .inspect(entries => entries.forEach(entry => console.log(entry.path, entry.kind)));
    interface DirEntrySlim {
        kind: FileSystemHandleKind;
        path: string;
    }
    Index
    kind: FileSystemHandleKind

    The kind of the entry: 'file' or 'directory'.

    path: string

    The relative path of the entry from the readDirSync path parameter.