Class

polynote.server.repository

FileBasedRepository

Related Doc: package repository

Permalink

class FileBasedRepository extends NotebookRepository

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

Instance Constructors

  1. new FileBasedRepository(path: Path, chunkSize: Int = 8192, defaultExtension: String = "ipynb", fs: NotebookFilesystem = new LocalFilesystem())

    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. val EndsWithNum: Regex

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val chunkSize: Int

    Permalink
  7. def clone(): AnyRef

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

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

    Permalink
  10. def createNotebook(relativePath: String, maybeContent: Option[String] = None): 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
    FileBasedRepositoryNotebookRepository
  11. val defaultExtension: String

    Permalink
  12. def deleteNotebook(path: String): RIO[BaseEnv with GlobalEnv, Unit]

    Permalink
  13. def emptyNotebook(path: String, title: String): RIO[BaseEnv with GlobalEnv, Notebook]

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def findUniqueName(path: String): RIO[BaseEnv with GlobalEnv, String]

    Permalink
  18. val fs: NotebookFilesystem

    Permalink
  19. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. 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
    FileBasedRepositoryNotebookRepository
  22. final def isInstanceOf[T0]: Boolean

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

    Permalink

    returns

    A list of notebook paths that exist in this repository

    Definition Classes
    FileBasedRepositoryNotebookRepository
  24. def loadNotebook(path: String): RIO[BaseEnv with GlobalEnv, Notebook]

    Permalink

    returns

    The notebook at the specified path

    Definition Classes
    FileBasedRepositoryNotebookRepository
  25. final def ne(arg0: AnyRef): Boolean

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

    Permalink

    returns

    Whether a notebook exists at the specified path

    Definition Classes
    FileBasedRepositoryNotebookRepository
  27. def notebookURI(path: String): RIO[BaseEnv with GlobalEnv, Option[URI]]

    Permalink

    returns

    The location of the notebook (must be absolute)

    Definition Classes
    FileBasedRepositoryNotebookRepository
  28. final def notify(): Unit

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

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

    Permalink
  31. val path: Path

    Permalink
  32. def pathOf(relativePath: String): Path

    Permalink
    Attributes
    protected
  33. def renameNotebook(path: String, newPath: String): RIO[BaseEnv with GlobalEnv, String]

    Permalink
  34. 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
    FileBasedRepositoryNotebookRepository
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from NotebookRepository

Inherited from AnyRef

Inherited from Any

Ungrouped