@jupyterlite/contents
#
Type Aliases#
ERRNO_CODES
#
Ƭ ERRNO_CODES
: any
The emscripten filesystem error codes.
Defined in#
FS
#
Ƭ FS
: EmscriptenFS
& { ErrnoError
: any
; createNode
: (parent
: IEmscriptenFSNode
| null
, name
: string
, mode
: number
, dev
: number
) => IEmscriptenFSNode
}
The emscripten filesystem module API.
Defined in#
IModel
#
Ƭ IModel
: ServerContents.IModel
Defined in#
PATH
#
Ƭ PATH
: Object
The emscripten FS Path API.
Type declaration#
Name |
Type |
---|---|
|
( |
|
( |
|
(… |
|
( |
|
( |
|
( |
Defined in#
TDriveData
#
Ƭ TDriveData
: Object
Type of the data argument for the drive request, based on the request name
Type declaration#
Name |
Type |
---|---|
|
{ |
|
|
|
{ |
|
|
|
|
|
{ |
|
|
Defined in#
TDriveMethod
#
Ƭ TDriveMethod
: "readdir"
| "rmdir"
| "rename"
| "getmode"
| "lookup"
| "mknod"
| "getattr"
| "get"
| "put"
Defined in#
TDriveRequest
#
Ƭ TDriveRequest
<T
>: { method
: T
; path
: string
; receiver?
: "broadcast.ts"
} & T
extends keyof TDriveData
? { data
: TDriveData
[T
] } : object
Drive request
Type parameters#
Name |
Type |
---|---|
|
extends |
Defined in#
TDriveResponse
#
Ƭ TDriveResponse
<T
>: TDriveResponses
[T
]
Drive response
Type parameters#
Name |
Type |
---|---|
|
extends |
Defined in#
Variables#
BLOCK_SIZE
#
Const
BLOCK_SIZE
:4096
Defined in#
DIR_MODE
#
Const
DIR_MODE
:16895
Defined in#
DRIVE_API_PATH
#
Const
DRIVE_API_PATH
:"/api/drive.v1"
Defined in#
DRIVE_SEPARATOR
#
Const
DRIVE_SEPARATOR
:":"
Defined in#
FILE_MODE
#
Const
FILE_MODE
:33206
Defined in#
IBroadcastChannelWrapper
#
Const
IBroadcastChannelWrapper
:Token
<IBroadcastChannelWrapper
>
The token for the BroadcastChannel broadcaster.
Defined in#
IContents
#
Const
IContents
:Token
<IContents
>
The token for the settings service.
Defined in#
SEEK_CUR
#
Const
SEEK_CUR
:1
Defined in#
SEEK_END
#
Const
SEEK_END
:2
Defined in#
Functions#
instanceOfStream
#
instanceOfStream
(nodeOrStream
): nodeOrStream is IEmscriptenStream
Parameters#
Name |
Type |
---|---|
|
Returns#
nodeOrStream is IEmscriptenStream