json-fs-query
    Preparing search index...

    Function pendingListing

    • The files under folder as the running statement sees them: onDisk (full locations) without what it deleted or removed, plus what it wrote there. onDisk as it is when no statement is running.

      Parameters

      • folder: string

        The folder's full location (see storagePath).

      • onDisk: string[]

        The full locations of the files under it in storage.

      Returns string[]