DataAdapter โบ list
DataAdapter.list() method
Retrieve a list of all files and folders inside the given folder, non-recursive.
Signature:
list(normalizedPath: string): Promise<ListedFiles>;Parameters
| Parameter | Type | Description |
|---|---|---|
normalizedPath | string | path to folder, use normalizePath() to normalize beforehand. |
Returns:
Promise<ListedFiles>