A language built for fun
This project is maintained by cometlang
inherits Object
parent()
converts the directory to an absolute path and returns the parent Directoryabsolute()
gets the Directory representing the absolute pathlist()
returns a List of Directory objects containing the contents of the directory. Does not include the pseudo paths of ‘.’ and ‘..’to_string()
returns the path of the directory as a Stringlist(path)
returns a List of Directory objects containing the contents of the directory. Does not include the pseudo paths of ‘.’ and ‘..’directory?(path)
returns a Boolean if the given path is a directoryremove(path, [recursively])
deletes a directory from the filesystem, optionally deleting the contents firstdelete(path, [recursively])
alias for removecreate(path)
creates the given directory and all parent directories required