RootlessPath

case class RootlessPath[A] extends Path[A]
Companion
object
trait Serializable
trait Product
trait Equals
trait Path[A]
class Object
trait Matchable
class Any

Value members

Inherited methods

def /(segment: Option[String]): Path[String]
Inherited from
Path
def /(segment: String): Path[String]

Compose with string to form a new Path

Compose with string to form a new Path

The underlying representation must be String in order for the representation and the path to be kept in sync. Use addSegment to modify paths backed by non-String types

See also

addSegment

Inherited from
Path
def //(segment: String): Path[String]

Ensure that path always is suffixed with '/'

Ensure that path always is suffixed with '/'

Inherited from
Path
def //(segment: Option[String]): Path[String]
Inherited from
Path
def absolute: AbsolutePath[String]
Inherited from
Path
def addSegment[B](segment: String, representation: B): Path[B]

Adds a segment to the path while ensuring that the segments and path representation are kept in sync

Adds a segment to the path while ensuring that the segments and path representation are kept in sync

If you're just working with String paths, see /

Inherited from
Path
def as[B](b: B): Path[B]
Inherited from
Path
def dirName(ev: A <:< FsObject): Option[String]
Inherited from
Path
override def equals(obj: Any): Boolean
Definition Classes
Path -> Any
Inherited from
Path
def fileName(ev: A <:< FsObject): Option[String]
Inherited from
Path
def fullName(ev: A <:< FsObject): String
Inherited from
Path
override def hashCode(): Int
Definition Classes
Path -> Any
Inherited from
Path
def isDir(ev: A <:< FsObject): Boolean
Inherited from
Path
def isEmpty: Boolean
Inherited from
Path
def lastModified(ev: A <:< FsObject): Option[Instant]
Inherited from
Path
def lastSegment: Option[String]
Inherited from
Path
def nioPath: Path
Inherited from
Path
Inherited from
Path
def plain: Plain
Inherited from
Path
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def relative: RootlessPath[String]
Inherited from
Path
def size(ev: A <:< FsObject): Option[Long]
Inherited from
Path
def storageClass[SC](storageClassLookup: Aux[A, SC]): Option[SC]
Inherited from
Path
Inherited from
Path
override def toString: String
Definition Classes
Path -> Any
Inherited from
Path
def up: Plain

Goes one level "up" and looses any information about the underlying path representation

Goes one level "up" and looses any information about the underlying path representation

Inherited from
Path
def value: String
Inherited from
Path