Class

polynote.server.repository

TreeRepository

Related Doc: package repository

Permalink

class TreeRepository extends NotebookRepository

Notebook Repository that delegates to child Repositories that correspond to Storage Mounts polynote.config.Mount.

Linear Supertypes
NotebookRepository, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeRepository
  2. NotebookRepository
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TreeRepository(root: NotebookRepository, repos: Map[String, NotebookRepository])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def copyNotebook(src: String, dest: String): RIO[BaseEnv with GlobalEnv, String]

    Permalink
    Definition Classes
    TreeRepositoryNotebookRepository
  7. def createAndOpen(path: String, notebook: Notebook, version: Int): RIO[BaseEnv with GlobalEnv, NotebookRef]

    Permalink
    Definition Classes
    TreeRepositoryNotebookRepository
  8. def createNotebook(originalPath: String, maybeContent: Option[String]): RIO[BaseEnv with GlobalEnv, String]

    Permalink

    Create a notebook at the given path, optionally creating it from the given content string.

    Create a notebook at the given path, optionally creating it from the given content string.

    TODO: Server no longer imports. Need to implement this on the client side.

    Definition Classes
    TreeRepositoryNotebookRepository
  9. def deleteNotebook(originalPath: String): RIO[BaseEnv with GlobalEnv, Unit]

    Permalink
    Definition Classes
    TreeRepositoryNotebookRepository
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def initStorage(): RIO[BaseEnv with GlobalEnv, Unit]

    Permalink

    Initialize the storage for this repository (i.e.

    Initialize the storage for this repository (i.e. create directory if it doesn't exist)

    Definition Classes
    TreeRepositoryNotebookRepository
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def listNotebooks(): RIO[BaseEnv with GlobalEnv, List[String]]

    Permalink

    returns

    A list of notebook paths that exist in this repository

    Definition Classes
    TreeRepositoryNotebookRepository
  18. def loadNotebook(originalPath: String): RIO[BaseEnv with GlobalEnv, Notebook]

    Permalink

    returns

    The notebook at the specified path

    Definition Classes
    TreeRepositoryNotebookRepository
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def notebookExists(originalPath: String): RIO[BaseEnv with GlobalEnv, Boolean]

    Permalink

    returns

    Whether a notebook exists at the specified path

    Definition Classes
    TreeRepositoryNotebookRepository
  21. def notebookURI(originalPath: String): RIO[BaseEnv with GlobalEnv, Option[URI]]

    Permalink

    returns

    The location of the notebook (must be absolute)

    Definition Classes
    TreeRepositoryNotebookRepository
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def openNotebook(path: String): RIO[BaseEnv with GlobalEnv, NotebookRef]

    Permalink
    Definition Classes
    TreeRepositoryNotebookRepository
  25. def renameNotebook(src: String, dest: String): RIO[BaseEnv with GlobalEnv, String]

    Permalink
    Definition Classes
    TreeRepositoryNotebookRepository
  26. def saveNotebook(nb: Notebook): RIO[BaseEnv with GlobalEnv, Unit]

    Permalink

    Save the given notebook to the specified path

    Save the given notebook to the specified path

    Definition Classes
    TreeRepositoryNotebookRepository
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NotebookRepository

Inherited from AnyRef

Inherited from Any

Ungrouped