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

Static Method Summary

Static Public Methods
public static

from(segments: UNKNOWN): Path

public static

fromJSON(v: string): Path

public static

fromSanitisedString(value: string): Path

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

value: string

Method Summary

Public Methods
public

basename(): string

public
public

isAbsolute(): boolean

public

join(another: Path): Path

public

resolve(another: Path): Path

public

root(): Path

public

split(): UNKNOWN

Static Public Methods

public static from(segments: UNKNOWN): Path source

Params:

NameTypeAttributeDescription
segments UNKNOWN

Returns:

Path

public static fromJSON(v: string): Path source

Params:

NameTypeAttributeDescription
v string

Returns:

Path

public static fromSanitisedString(value: string): Path source

Params:

NameTypeAttributeDescription
value string

Returns:

Path

Public Constructors

public constructor() source

Public Members

public value: string source

Public Methods

public basename(): string source

Returns:

string

public directory(): Path source

Returns:

Path

public isAbsolute(): boolean source

Returns:

boolean

public join(another: Path): Path source

Params:

NameTypeAttributeDescription
another Path

Returns:

Path

public resolve(another: Path): Path source

Params:

NameTypeAttributeDescription
another Path

Returns:

Path

public root(): Path source

Returns:

Path

public split(): UNKNOWN source

Returns:

UNKNOWN