FileBrowserModel | @jupyterlab (original) (raw)

Hierarchy (View Summary)

Implements

Index

Constructors

constructor

Properties

Readonlymanager

Protectedtranslator

Accessors

connectionFailure

driveName

fileChanged

isDisposed

path

pathChanged

refreshed

restored

rootPath

specs

uploadChanged

Methods

cd

Returns Promise<void>

A promise with the contents of the directory.

dispose

download

A promise which resolves when the file has begun downloading.

ProtectedhandleContents

items

A new iterator over the model's items.

ProtectedonFileChanged

ProtectedonRunningChanged

refresh

restore

Returns Promise<void>

A promise when restoration is complete.

Notes

This function will only restore the model once. If it is called multiple times, all subsequent invocations are no-ops.

sessions

A new iterator over the model's active sessions.

upload

Returns Promise<Contents.IModel>

A promise containing the new file contents model.

Notes

On Notebook version < 5.1.0, this will fail to upload files that are too big to be sent in one request to the server. On newer versions, or on Jupyter Server, it will ask for confirmation then upload the file in 1 MB chunks.

uploads