Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 287 Bytes

File metadata and controls

13 lines (9 loc) · 287 Bytes

ls (function)

Returns the contents of a directory, as absolute paths. . and .. are omitted.

If ls() is called with no directory, the present working directory (pwd()) is used.

declare function ls(dir?: string | Path): Array<Path>;