Tak.WorktreeStatus (tak v0.4.2)

View Source

Runtime status for a worktree.

%Tak.WorktreeStatus{} pairs a %Tak.Worktree{} with observation-only data such as running state and PID. This keeps stable worktree identity separate from transient process state.

Summary

Types

status()

@type status() :: :running | :stopped | :unknown

t()

@type t() :: %Tak.WorktreeStatus{
  pid: String.t() | nil,
  status: status(),
  worktree: Tak.Worktree.t()
}