Class: DriveFS#

contents.DriveFS

Constructors#

constructor#

new DriveFS(options)

Parameters#

Name

Type

options

IOptions

Defined in#

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

Properties#

API#

API: ContentsAPI

Defined in#

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


ERRNO_CODES#

ERRNO_CODES: any

Defined in#

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


FS#

FS: any

Defined in#

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


PATH#

PATH: IPath

Defined in#

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


driveName#

driveName: string

Defined in#

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


node_ops#

node_ops: IEmscriptenNodeOps

Defined in#

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


stream_ops#

stream_ops: IEmscriptenStreamOps

Defined in#

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

Methods#

createNode#

createNode(parent, name, mode, dev?): IEmscriptenFSNode

Parameters#

Name

Type

parent

null | IEmscriptenFSNode

name

string

mode

number

dev?

any

Returns#

IEmscriptenFSNode

Defined in#

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


getMode#

getMode(path): number

Parameters#

Name

Type

path

string

Returns#

number

Defined in#

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


mount#

mount(mount): IEmscriptenFSNode

Parameters#

Name

Type

mount

any

Returns#

IEmscriptenFSNode

Defined in#

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


realPath#

realPath(node): string

Parameters#

Name

Type

node

IEmscriptenFSNode

Returns#

string

Defined in#

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