Skip to content

Function listDirectory() ​

listDirectory(path: string): string[]

Source: fileSystem.ts

Returns a list of all files and folders in a directory.

Parameters ​

path ​

string

The path of the directory.

Returns ​

string[]

The contents of the directory.

Built by Prozilla