RelPath

class RelPath extends FilePath with BasePathImpl with SegmentedPath

A relative path on the filesystem. Note that the path is normalized and cannot contain any empty or ".". Parent ".." segments can only occur at the left-end of the path, and are collapsed into a single number ups.

Companion:
object
trait FilePath
trait BasePath
class Object
trait Matchable
class Any

Type members

Types

Value members

Concrete methods

override def equals(o: Any): Boolean
Definition Classes
Any
override def hashCode: Int
Definition Classes
Any
def resolveFrom(base: Path): Path
def startsWith(target: RelPath): Boolean
def toNIO: Path
override def toString: String
Definition Classes
Any

Inherited methods

override def /(chunk: PathChunk): ThisType
Definition Classes
Inherited from:
SegmentedPath
override def baseName: String
Definition Classes
Inherited from:
BasePathImpl
def endsWith(target: RelPath): Boolean
Inherited from:
SegmentedPath
def ext: String
Inherited from:
BasePathImpl
Inherited from:
BasePathImpl

Relativizes this path with the given target path, finding a sub path p such that base/p == this.

Relativizes this path with the given target path, finding a sub path p such that base/p == this.

Inherited from:
BasePath

Concrete fields

val ups: Int