Class: DriveFSEmscriptenNodeOps#

contents.DriveFSEmscriptenNodeOps

Implements#

Constructors#

constructor#

new DriveFSEmscriptenNodeOps(fs)

Parameters#

Name

Type

fs

DriveFS

Defined in#

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

Properties#

fs#

Private fs: any

Defined in#

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

Methods#

getattr#

getattr(node): IStats

Parameters#

Name

Type

node

IEmscriptenFSNode

Returns#

IStats

Implementation of#

IEmscriptenNodeOps.getattr

Defined in#

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


lookup#

lookup(parent, name): IEmscriptenFSNode

Parameters#

Name

Type

parent

IEmscriptenFSNode

name

string

Returns#

IEmscriptenFSNode

Implementation of#

IEmscriptenNodeOps.lookup

Defined in#

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


mknod#

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

Parameters#

Name

Type

parent

IEmscriptenFSNode

name

string

mode

number

dev

any

Returns#

IEmscriptenFSNode

Implementation of#

IEmscriptenNodeOps.mknod

Defined in#

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


readdir#

readdir(node): string[]

Parameters#

Name

Type

node

IEmscriptenFSNode

Returns#

string[]

Implementation of#

IEmscriptenNodeOps.readdir

Defined in#

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



rename#

rename(oldNode, newDir, newName): void

Parameters#

Name

Type

oldNode

IEmscriptenFSNode

newDir

IEmscriptenFSNode

newName

string

Returns#

void

Implementation of#

IEmscriptenNodeOps.rename

Defined in#

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


rmdir#

rmdir(parent, name): void

Parameters#

Name

Type

parent

IEmscriptenFSNode

name

string

Returns#

void

Implementation of#

IEmscriptenNodeOps.rmdir

Defined in#

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


setattr#

setattr(node, attr): void

Parameters#

Name

Type

node

IEmscriptenFSNode

attr

IStats

Returns#

void

Implementation of#

IEmscriptenNodeOps.setattr

Defined in#

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