Expand description
Pure human renderers for worktree rows and status blocks (spec §7).
Structs§
- Render
Ctx - Context for rendering a list cell.
Functions§
- ahead_
behind_ cell - The ahead/behind cell:
↑N ↓M, or–when there is no upstream. - branch_
display - The branch display: the branch name, or
(HEAD detached @ <hash>). - cell
- Renders a single column’s cell for a worktree.
- commit_
cell - The commit cell: short hash + subject + relative time, or empty.
- dirty_
marker - The dirty marker for the Dirty column (spec §7).
- path_
cell - The path cell: relative to the repo root, or absolute if outside it.
- pr_cell
- The PR cell:
#N (state), or empty when no PR is recorded. - status_
marker - The status marker for the Status column (spec §7).