ParsedPath

@native @JSType trait ParsedPath extends StObject

A parsed path object generated by path.parse() or consumed by path.format().

Companion
object
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

var base: String

The file name including extension (if any) such as 'index.html'

The file name including extension (if any) such as 'index.html'

var dir: String

The full directory path such as '/home/user/dir' or 'c:\path\dir'

The full directory path such as '/home/user/dir' or 'c:\path\dir'

var ext: String

The file extension (if any) such as '.html'

The file extension (if any) such as '.html'

var name: String

The file name without extension (if any) such as 'index'

The file name without extension (if any) such as 'index'

var root: String

The root of the path such as '/' or 'c:'

The root of the path such as '/' or 'c:'