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. |
Exists
Input |
A directory. |
Output |
True if the directory exists, false otherwise. |
Create
Input |
A directory. |
Output |
True if the directory was created, false otherwise. |
Delete
Input |
A directory. |
Output |
True if the directory was deleted, false otherwise. |
Copy
Input |
Two directories. |
Output |
True if the directory was copied, false otherwise. |
Move
Input |
Two directories. |
Output |
True if the directory was moved, false otherwise. |
Rename
Input |
A directory and a string. |
Output |
True if the directory was renamed, false otherwise. |
Path
Input |
A directory. |
Output |
The path of the directory. |
Name
Input |
A directory. |
Output |
The name of the directory. |
Parent
Input |
A directory. |
Output |
The parent directory. |
List
Input |
A directory. |
Output |
A list of directories and files in the directory. |