Skip to main content

Directory

Static methods

exists(path)

Returns true if a directory exists at the given path.

listFiles(path)

Returns an array of file paths in the given directory.

listDirectories(path)

Returns an array of directory paths in the given directory.