import {Path} from '@serenity-js/core/lib/io'
public class | source

Path

Extends:

tiny-types~TinyType → Path

Tests:

Static Member Summary

Static Public Members
public static

Static Method Summary

Static Public Methods
public static

fromSanitisedString(value: string): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

value: string

Method Summary

Public Methods
public

basename(): string

public

directory(): *

public

isAbsolute(): boolean

public

join(another: Path): *

public

resolve(another: Path): *

public

root(): Path

public

split(): UNKNOWN

Static Public Members

public static fromJSON: * source

Static Public Methods

public static fromSanitisedString(value: string): * source

Params:

NameTypeAttributeDescription
value string

Returns:

*

Public Constructors

public constructor() source

Public Members

public value: string source

Public Methods

public basename(): string source

Returns:

string

public directory(): * source

Returns:

*

public isAbsolute(): boolean source

Returns:

boolean

public join(another: Path): * source

Params:

NameTypeAttributeDescription
another Path

Returns:

*

public resolve(another: Path): * source

Params:

NameTypeAttributeDescription
another Path

Returns:

*

public root(): Path source

Returns:

Path

public split(): UNKNOWN source

Returns:

UNKNOWN