Interface: IEmscriptenNodeOps#

contents.IEmscriptenNodeOps

Implemented by#

Methods#

getattr#

getattr(node): IStats

Parameters#

Name

Type

node

IEmscriptenFSNode

Returns#

IStats

Defined in#

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


lookup#

lookup(parent, name): IEmscriptenFSNode

Parameters#

Name

Type

parent

IEmscriptenFSNode

name

string

Returns#

IEmscriptenFSNode

Defined in#

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


mknod#

mknod(parent, name, mode, dev): IEmscriptenFSNode

Parameters#

Name

Type

parent

IEmscriptenFSNode

name

string

mode

number

dev

any

Returns#

IEmscriptenFSNode

Defined in#

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


readdir#

readdir(node): string[]

Parameters#

Name

Type

node

IEmscriptenFSNode

Returns#

string[]

Defined in#

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



rename#

rename(oldNode, newDir, newName): void

Parameters#

Name

Type

oldNode

IEmscriptenFSNode

newDir

IEmscriptenFSNode

newName

string

Returns#

void

Defined in#

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


rmdir#

rmdir(parent, name): void

Parameters#

Name

Type

parent

IEmscriptenFSNode

name

string

Returns#

void

Defined in#

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


setattr#

setattr(node, attr): void

Parameters#

Name

Type

node

IEmscriptenFSNode

attr

IStats

Returns#

void

Defined in#

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