Relative Path
Represents a relative path from some base directory to a file. Used in file copying to represent both a source and target file path when copying files.
RelativePath
instances are immutable.
Functions
Link copied to clipboard
Appends the given path to the end of this path.
Appends the given names to the end of this path.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the parent of this path.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Appends the given path to the end of this path.
Link copied to clipboard
Prepends the given names to the start of this path.
Link copied to clipboard
Returns a copy of this path, with the last name replaced with the given name.
Link copied to clipboard
Link copied to clipboard