Skip to main content

Crate jk_core

Crate jk_core 

Source
Expand description

Shared log records used by jk integration and TUI crates.

jk-core keeps the boundary between opaque jj rendering and semantic log state explicit. The rendered log body is still owned by jj; jk only keeps enough structured metadata to move by change, preserve selection across refresh, and insert inline details at the right rendered line.

Structsยง

DiffFileStat
Per-file line counts for a rendered diff.
DiffSnapshot
A rendered jj diff view for one change.
LogEntry
A semantic log item that the TUI can navigate without knowing how jj produced it.
LogSnapshot
A rendered jj log view plus semantic records for navigation.