@jupyterlite / @jupyterlite/contents / DriveFSEmscriptenNodeOps
Class: ~~DriveFSEmscriptenNodeOps~~#
Defined in: packages/services/lib/contents/drivefs.d.ts:93
Deprecated#
This package is deprecated and will be removed in 0.8.0. Please import from @jupyterlite/services instead.
This package now acts as a shim that re-exports contents-related components from @jupyterlite/services for backward compatibility.
Example#
// Old (deprecated):
import { BrowserStorageDrive } from '@jupyterlite/contents';
// New (recommended):
import { BrowserStorageDrive } from '@jupyterlite/services';
Implements#
Constructors#
Constructor#
new DriveFSEmscriptenNodeOps(
fs):DriveFSEmscriptenNodeOps
Defined in: packages/services/lib/contents/drivefs.d.ts:95
Parameters#
fs#
Returns#
DriveFSEmscriptenNodeOps
Properties#
~~getattr()~~#
getattr: (
value) =>IStats
Defined in: packages/services/lib/contents/drivefs.d.ts:97
Parameters#
value#
Returns#
Implementation of#
~~lookup()~~#
lookup: (
parent,name) =>IEmscriptenFSNode
Defined in: packages/services/lib/contents/drivefs.d.ts:99
Parameters#
parent#
name#
string
Returns#
Implementation of#
~~mknod()~~#
mknod: (
parent,name,mode,dev) =>IEmscriptenFSNode
Defined in: packages/services/lib/contents/drivefs.d.ts:100
Parameters#
parent#
name#
string
mode#
number
dev#
number
Returns#
Implementation of#
~~node()~~#
protectednode: (nodeOrStream) =>IEmscriptenFSNode
Defined in: packages/services/lib/contents/drivefs.d.ts:96
Parameters#
nodeOrStream#
Returns#
~~readdir()~~#
readdir: (
value) =>string[]
Defined in: packages/services/lib/contents/drivefs.d.ts:104
Parameters#
value#
Returns#
string[]
Implementation of#
~~readlink()~~#
readlink: (
node) =>string
Defined in: packages/services/lib/contents/drivefs.d.ts:106
Parameters#
node#
Returns#
string
Implementation of#
~~rename()~~#
rename: (
value,newDir,newName) =>void
Defined in: packages/services/lib/contents/drivefs.d.ts:101
Parameters#
value#
newDir#
newName#
string
Returns#
void
Implementation of#
~~rmdir()~~#
rmdir: (
parent,name) =>null
Defined in: packages/services/lib/contents/drivefs.d.ts:103
Parameters#
parent#
name#
string
Returns#
null
Implementation of#
~~setattr()~~#
setattr: (
value,attr) =>void
Defined in: packages/services/lib/contents/drivefs.d.ts:98
Parameters#
value#
attr#
Returns#
void
Implementation of#
~~symlink()~~#
symlink: (
parent,newName,oldPath) =>void
Defined in: packages/services/lib/contents/drivefs.d.ts:105
Parameters#
parent#
newName#
string
oldPath#
string
Returns#
void
Implementation of#
~~unlink()~~#
unlink: (
parent,name) =>null
Defined in: packages/services/lib/contents/drivefs.d.ts:102
Parameters#
parent#
name#
string
Returns#
null