followLink

os.followLink
object followLink extends Path => Option[Path]

Attempts to any symbolic links in the given path and return the canonical path. Returns None if the path cannot be resolved (i.e. some symbolic link in the given path is broken)

Attributes

Graph
Supertypes
trait Path => Option[Path]
class Object
trait Matchable
class Any
Self type
followLink.type

Members list

Value members

Concrete methods

def apply(src: Path): Option[Path]

Inherited methods

def andThen[A](g: Option[Path] => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Path): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1