SubPath

class SubPath extends FilePath with BasePathImpl with SegmentedPath

A relative path on the filesystem, without any .. or . segments

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 lastOpt: Option[String]
def resolveFrom(base: Path): Path
def startsWith(target: SubPath): Boolean
def toNIO: Path
override def toString: String
Definition Classes
Any

Inherited methods

def /(chunk: PathChunk): ThisType
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
def last: String
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 segments: IndexedSeq[String]
val segments0: Array[String]