list-files
Lists the file/s specified by the path, which may end with a wildcard. It returns the string list. If the path does not end with a path separator and is not a wildcard, a search is made for exactly the specified item in the parent directory.
Signature
list-files(path:string) -> list of string |
Parameters
Name | Type | Description |
---|---|---|
path | string | Specifies the path to a directory or file. |
Examples
See Copy Files for an example.