ls(path: string, options: GlobOptions = {}): Promise<GlobResult>| Name | Type | Description |
|---|---|---|
path* | string | Absolute path of the directory to list. |
options | GlobOptions | Default: {}Result cap and request options. |
List a directory's immediate entries, without recursing.
A convenience over glob with the pattern *.