Interface: IPath#

contents.DriveFS.IPath

The emscripten FS Path API;

Methods#

basename#

basename(path): string

Parameters#

Name

Type

path

string

Returns#

string

Defined in#

packages/contents/lib/drivefs.d.ts:168


dirname#

dirname(path): string

Parameters#

Name

Type

path

string

Returns#

string

Defined in#

packages/contents/lib/drivefs.d.ts:169


join#

join(…parts): string

Parameters#

Name

Type

...parts

string[]

Returns#

string

Defined in#

packages/contents/lib/drivefs.d.ts:170


join2#

join2(l, r): string

Parameters#

Name

Type

l

string

r

string

Returns#

string

Defined in#

packages/contents/lib/drivefs.d.ts:171


normalize#

normalize(path): string

Parameters#

Name

Type

path

string

Returns#

string

Defined in#

packages/contents/lib/drivefs.d.ts:172


splitPath#

splitPath(filename): string

Parameters#

Name

Type

filename

string

Returns#

string

Defined in#

packages/contents/lib/drivefs.d.ts:173