Automerge Repo - v2.3.0-alpha.0
    Preparing search index...
    • Export a bundle of document handles which can be imported into another repo

      Parameters

      • repo: Repo

        The Repo to export from

      • docs: DocHandle<unknown>[]

        The DocHandles to export in the bundle

      • Optionalargs: { since?: Map<AutomergeUrl, Automerge.Heads | UrlHeads> }

        additional arguments for the export. For now this is used to specify the heads of the documents to export after. This is primarily useful if you know the other end already has some initial changes and you want to send them new changes

      Returns Bundle

      a Bundle containing the exported documents

      The bundle returned can be encoded to a binary format using the Bundle.encode method. This format is designed to be forwards compatible so it can be used for long lived storage.