Class: DriveFSEmscriptenNodeOps#

@jupyterlite/contents.DriveFSEmscriptenNodeOps

Implements#

Constructors#

constructor#

new DriveFSEmscriptenNodeOps(fs)

Parameters#

Name

Type

fs

DriveFS

Defined in#

packages/contents/src/drivefs.ts:262

Properties#

fs#

Private fs: DriveFS

Defined in#

packages/contents/src/drivefs.ts:260

Methods#

getattr#

getattr(value): IStats

Parameters#

Returns#

IStats

Implementation of#

IEmscriptenNodeOps.getattr

Defined in#

packages/contents/src/drivefs.ts:275

lookup#

lookup(parent, name): IEmscriptenFSNode

Parameters#

Name

Type

parent

IEmscriptenFSNode | IEmscriptenStream

name

string

Returns#

IEmscriptenFSNode

Implementation of#

IEmscriptenNodeOps.lookup

Defined in#

packages/contents/src/drivefs.ts:301

mknod#

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

Parameters#

Name

Type

parent

IEmscriptenFSNode | IEmscriptenStream

name

string

mode

number

dev

number

Returns#

IEmscriptenFSNode

Implementation of#

IEmscriptenNodeOps.mknod

Defined in#

packages/contents/src/drivefs.ts:314

node#

Protected node(nodeOrStream): IEmscriptenFSNode

Parameters#

Name

Type

nodeOrStream

IEmscriptenFSNode | IEmscriptenStream

Returns#

IEmscriptenFSNode

Defined in#

packages/contents/src/drivefs.ts:266

readdir#

readdir(value): string[]

Parameters#

Returns#

string[]

Implementation of#

IEmscriptenNodeOps.readdir

Defined in#

packages/contents/src/drivefs.ts:353

rename#

rename(value, newDir, newName): void

Parameters#

Name

Type

value

IEmscriptenFSNode | IEmscriptenStream

newDir

IEmscriptenFSNode | IEmscriptenStream

newName

string

Returns#

void

Implementation of#

IEmscriptenNodeOps.rename

Defined in#

packages/contents/src/drivefs.ts:326

rmdir#

rmdir(parent, name): void

Parameters#

Name

Type

parent

IEmscriptenFSNode | IEmscriptenStream

name

string

Returns#

void

Implementation of#

IEmscriptenNodeOps.rmdir

Defined in#

packages/contents/src/drivefs.ts:349

setattr#

setattr(value, attr): void

Parameters#

Name

Type

value

IEmscriptenFSNode | IEmscriptenStream

attr

IStats

Returns#

void

Implementation of#

IEmscriptenNodeOps.setattr

Defined in#

packages/contents/src/drivefs.ts:284