Optional
allowIf true, return an empty array if the directory does not exist, rather than throwing an error. (Default: false)
Optional
includeIf true, include dotfiles in the result. (Default: true)
Optional
onlyIf true, only include directories in the result. (Default: false)
Optional
onlyIf true, only include files in the result. (Default: false)
Options for reading directories, used by FsPath.readDirectory and FsPath.glob