Returns an iterable sequence of all the immediate children of this directory.
Returns an iterable sequence of all the immediate children of this directory.
Removes this file or directory.
Removes this file or directory.
Returns a reference to the file system in which this file resides.
Returns a reference to the file system in which this file resides.
Returns the files in this directory.
Returns the files in this directory.
Returns an array of the components of this path.
Returns an array of the components of this path.
Directory("/home/admin/projects") = ("home", "admin", "projects")
Returns a lazy stream of subdirectories in this directory (not including subdirectories of subdirectories).
Returns a lazy stream of subdirectories in this directory (not including subdirectories of subdirectories).
Returns the basename of a file name (without the extension part).
Returns the basename of a file name (without the extension part).
Returns an map that maps file names to their path object.
Returns an map that maps file names to their path object.
Returns the extension of this file.
Returns the extension of this file. The extension is lowercased.
If there's no extension, the empty string ""
is returned.
Returns the full name (including the absolute path) of this file.
Returns the full name (including the absolute path) of this file.
Returns the name (without the path section) of this file or directory.
Returns the name (without the path section) of this file or directory.
Returns the parent directory of this path.
Returns the parent directory of this path.
Returns an iterable sequence of all children of this directory, recursively.
Returns an iterable sequence of all children of this directory, recursively.
Represents a directory under a specific file system.
0.2.0