Structured listing with file metadata.
Lists files and directories in the specified directory (non-recursive). Directories have a trailing / in their path and is_dir=true.
lsInfo(path: string): MaybePromise<FileInfo[]>| Name | Type | Description |
|---|---|---|
path* | string | Absolute path to directory |