LLMDB.History.Bundle (LLM DB v2026.4.8)

Copy Markdown View Source

Snapshot-store helpers for local history bundles.

Summary

Functions

bundle(opts \\ [])

@spec bundle(keyword()) ::
  {:ok, %{archive_path: String.t(), metadata_path: String.t(), metadata: map()}}
  | {:error, term()}

history_dir(path \\ nil)

@spec history_dir(String.t() | nil) :: String.t()

install_archive(archive_path, destination \\ nil)

@spec install_archive(String.t(), String.t() | nil) :: :ok | {:error, term()}

read_meta(path \\ nil)

@spec read_meta(String.t() | nil) :: {:ok, map()} | {:error, term()}