A default implementation for an IDrive, talking to the server using the Jupyter REST API.

Implements

Constructors

Properties

contentProviderRegistry: IContentProviderRegistry

Content provider registry.

name: string

The name of the drive, which is used at the leading component of file paths.

serverSettings: ServerConnection.ISettings

The server settings of the drive.

Accessors

Methods

  • Get an encoded download url given a file path.

    Parameters

    • localPath: string

      An absolute POSIX file path on the server.

      It is expected that the path contains no relative paths.

      The returned URL may include a query parameter.

    Returns Promise<string>