Interface: IEmscriptenNodeOps#

@jupyterlite/contents.IEmscriptenNodeOps

Implemented by#

Methods#

getattr#

getattr(node): IStats

Parameters#

Returns#

IStats

Defined in#

packages/contents/src/emscripten.ts:67

lookup#

lookup(parent, name): IEmscriptenFSNode

Parameters#

Name

Type

parent

IEmscriptenFSNode | IEmscriptenStream

name

string

Returns#

IEmscriptenFSNode

Defined in#

packages/contents/src/emscripten.ts:69

mknod#

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

Parameters#

Name

Type

parent

IEmscriptenFSNode | IEmscriptenStream

name

string

mode

number

dev

number

Returns#

IEmscriptenFSNode

Defined in#

packages/contents/src/emscripten.ts:73

readdir#

readdir(node): string[]

Parameters#

Returns#

string[]

Defined in#

packages/contents/src/emscripten.ts:86

rename#

rename(oldNode, newDir, newName): void

Parameters#

Name

Type

oldNode

IEmscriptenFSNode | IEmscriptenStream

newDir

IEmscriptenFSNode | IEmscriptenStream

newName

string

Returns#

void

Defined in#

packages/contents/src/emscripten.ts:79

rmdir#

rmdir(parent, name): void

Parameters#

Name

Type

parent

IEmscriptenFSNode | IEmscriptenStream

name

string

Returns#

void

Defined in#

packages/contents/src/emscripten.ts:85

setattr#

setattr(node, attr): void

Parameters#

Returns#

void

Defined in#

packages/contents/src/emscripten.ts:68