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.
The files under
folderas the running statement sees them:onDisk(full locations) without what it deleted or removed, plus what it wrote there.onDiskas it is when no statement is running.