AgentSessionManager.Workspace.Snapshot (AgentSessionManager v0.8.0)

Copy Markdown View Source

Represents a captured workspace state at a point in time.

Summary

Types

backend()

@type backend() :: :git | :hash

t()

@type t() :: %AgentSessionManager.Workspace.Snapshot{
  backend: backend(),
  captured_at: DateTime.t(),
  label: atom() | nil,
  metadata: map(),
  path: String.t(),
  ref: String.t() | nil
}

Functions

to_map(snapshot)

@spec to_map(t()) :: map()