Representation of a directory path which can be relative or absolute
It is a list of FileNames and we can append other DirectoryPaths or FilePaths to it If the list is empty, this means we are at the root
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
append another directory path
append another directory path
DirectoryPath.Root plays the role an empty element for this operation
Attributes
append a FilePath to this directory
append a FilePath to this directory
Attributes
- Returns
-
another FilePath
append a new name to this directory
append a new name to this directory
Attributes
- Returns
-
a DirectoryPath
Attributes
- Returns
-
an absolute directory path
Attributes
- Returns
-
a relative directory path
Attributes
- Returns
-
either the parent directory or the root if we already are at the root
Attributes
- Returns
-
the path for this file as a / separated string, with a final /
Attributes
- Returns
-
the DirectoryPath starting from the root
Attributes
- Returns
-
true if this directory path is absolute
Attributes
- Returns
-
true if this directory path is relative
Attributes
- Returns
-
the parent directory for this directory, none if we are at the root
Attributes
- Returns
-
the path for this file as a / separated string
Attributes
- Returns
-
the portion of a dir path that is relative to another
Attributes
- Returns
-
the dir path for the first name in the list
Attributes
- Returns
-
modify the absolute status of this dir path
Attributes
- Returns
-
a File for this path
Attributes
- Returns
-
interpret this DirectoryPath as a FilePath, which might be /. if this DirectoryPath is Root
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product