BasePathImpl

trait BasePathImpl extends BasePath
trait BasePath
class Object
trait Matchable
class Any
class Path
class RelPath
class SubPath

Type members

Inherited types

Inherited from:
BasePath

Value members

Abstract methods

def /(chunk: PathChunk): ThisType
def lastOpt: Option[String]

Concrete methods

override def baseName: String
Definition Classes
def ext: String
def last: String

Inherited methods

def endsWith(target: RelPath): Boolean

This path ends with the target path, including if it's identical

This path ends with the target path, including if it's identical

Inherited from:
BasePath

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

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

Note that you can only relativize paths of the same type, e.g. Path & Path or RelPath & RelPath. In the case of RelPath, this can throw a PathError.NoRelativePath if there is no relative path that satisfies the above requirement in the general case.

Inherited from:
BasePath
def segments: IterableOnce[String]

The individual path segments of this path.

The individual path segments of this path.

Inherited from:
BasePath
def startsWith(target: ThisType): Boolean

This path starts with the target path, including if it's identical

This path starts with the target path, including if it's identical

Inherited from:
BasePath

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