Directory to list.
OptionalpatternFilter for files; directories are always listed. Only *, *.* and a single extension such as *.flac are understood, and nothing is refused: a pattern that does not start with *. (song*, ?.txt) matches every file, while a *.ext pattern is compared, ignoring case, with the text from the file name's last dot on, so *.{flac,mp3} matches nothing and no *.ext matches a file without an extension.
OptionalrecursiveWalk the subdirectories as well; the entries are then full paths instead of names. A subdirectory that cannot be read makes the call fail with OPERATION_FAILED.
Parameters for
file.list. List the files and subdirectories of a directory. A path that does not exist fails withNOT_FOUND, and one that is not a directory withINVALID_PATH.