Your search found these items:
Your search did not match any articles.
nova.path global object is used to manipulate file system paths.
Returns the last component (the filename) of the specified path, including any extension.
Returns the directory parent of the path.
Returns the file extension of the path. If the path has no file extension, this method returns an empty string.
Splits the path into an array with two components: the path + filename without the extension, and the file extension.
Expands any reference to the user’s home directory using the
~ component to contain the full home directory path.
true if the path is an absolute path.
Combines one or more components into one path using the platform’s proper path components.
Attempts to normalize a path by expanding symbolic links and other ambiguous components.
Splits the path into an array of path components (split on the ‘/’ separator), but including the leading ‘/’ root for absolute paths.