scan
Returns a bounded deterministic snapshot.
Return
bounded deterministic entries, or an empty list when the directory is absent or the path is not a directory.
Parameters
directory
normalized absolute local directory to inspect.
entryNamePrefix
case-insensitive child-name prefix.