Reference

Directory

Note: Directory functions are not implemented on the web platform.

From path
Input A string.
Output A directory pointing to the given path.

Signature

Example

Exists
Input A directory.
Output True if the directory exists, false otherwise.

Signature

Example

Create
Input A directory.
Output True if the directory was created, false otherwise.

Signature

Example

Delete
Input A directory.
Output True if the directory was deleted, false otherwise.

Signature

Example

Copy
Input Two directories.
Output True if the directory was copied, false otherwise.

Signature

Example

Move
Input Two directories.
Output True if the directory was moved, false otherwise.

Signature

Example

Rename
Input A directory and a string.
Output True if the directory was renamed, false otherwise.

Signature

Example

Path
Input A directory.
Output The path of the directory.

Signature

Example

Name
Input A directory.
Output The name of the directory.

Signature

Example

Parent
Input A directory.
Output The parent directory.

Signature

Example

List
Input A directory.
Output A list of directories and files in the directory.

Signature

Example