Root

case object Root extends Path

The root of an absolute path.

trait Singleton
trait Product
trait Mirror
trait Path
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Root.type

Type members

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type MirroredMonoType = Singleton
Inherited from:
Singleton
type MirroredType = Singleton
Inherited from:
Singleton
type Self = Path
Inherited from:
Path

Value members

Concrete methods

def /(path: RelativePath): Path
def isSubPath(other: Path): Boolean

Inherited methods

def /(name: String): Self

Creates a new path with the specified name as an immediate child of this path.

Creates a new path with the specified name as an immediate child of this path.

Inherited from:
GenericPath
def basename: String

The base name of this path, without the suffix (if present).

The base name of this path, without the suffix (if present).

Inherited from:
GenericPath
def fromProduct(p: Product): MirroredMonoType
Inherited from:
Singleton
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Interprets this path as a relative path - a shortcut for relativeTo(Root).

Interprets this path as a relative path - a shortcut for relativeTo(Root).

Inherited from:
Path
def withBasename(name: String): Self

Returns a new path that replaces the base name with the specified new name while keeping both, suffix and fragment, in case they are present.

Returns a new path that replaces the base name with the specified new name while keeping both, suffix and fragment, in case they are present.

Inherited from:
GenericPath
def withFragment(fragment: String): Self

Returns a new path that either replaces the existing fragment component with the specified one or appends it if this path does not have a component yet.

Returns a new path that either replaces the existing fragment component with the specified one or appends it if this path does not have a component yet.

Inherited from:
GenericPath
def withSuffix(suffix: String): Self

Returns a new path that either replaces the existing suffix with the specified one or appends it if this path does not have a suffix yet.

Returns a new path that either replaces the existing suffix with the specified one or appends it if this path does not have a suffix yet.

Inherited from:
GenericPath

Returns a new path that discards this path's fragment, if present.

Returns a new path that discards this path's fragment, if present.

Inherited from:
GenericPath

Returns a new path that discards this path's suffix, if present.

Returns a new path that discards this path's suffix, if present.

Inherited from:
GenericPath

Concrete fields

val depth: Int
val fragment: Option[String]
val name: String
val suffix: Option[String]
override val toString: String