LLMDB.Snapshot.Builder (LLM DB v2026.4.5)

Copy Markdown View Source

Builds canonical snapshot artifacts from configured sources.

Summary

Types

artifact()

@type artifact() :: %{
  snapshot: map(),
  snapshot_id: String.t(),
  metadata: map(),
  output_dir: String.t(),
  snapshot_path: String.t(),
  metadata_path: String.t()
}

Functions

build(opts \\ [])

@spec build(keyword()) :: {:ok, artifact()} | {:error, term()}

up_to_date?(artifact, opts \\ [])

@spec up_to_date?(
  artifact(),
  keyword()
) :: boolean()

write!(artifact, opts \\ [])

@spec write!(
  artifact(),
  keyword()
) :: artifact()