Path

laika.ast.Path
See thePath companion trait
object Path

Factory methods for creating path instances.

Attributes

Companion
trait
Source
paths.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Path.type

Members list

Type members

Classlikes

case object Root extends Path

The root of an absolute path.

The root of an absolute path.

Attributes

Source
paths.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Path
trait VirtualPath
trait Serializable
trait Product
trait Equals
trait GenericPath
class Object
trait Matchable
class Any
Show all
Self type
Root.type
case class Segments(segments: Type[String], suffix: Option[String], fragment: Option[String]) extends Path, Segments

Attributes

Source
paths.scala
Supertypes
trait Segments
trait Path
trait VirtualPath
trait Serializable
trait Product
trait Equals
trait GenericPath
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(segments: List[String]): Path

Attributes

Source
paths.scala
def parse(str: String): Path

Creates an absolute path from interpreting the specified string representation.

Creates an absolute path from interpreting the specified string representation.

A slash prefix, even if not present, will be assumed.

If you need to parse a string that can potentially represent both, an absolute or a relative path, use the PathBase.parse method instead.

Empty path segments are allowed, but should usually be avoided for usability reasons.

Attributes

Source
paths.scala