Documentation
¶
Overview ¶
Package render formats change summaries into human-readable Markdown output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Changes ¶
func Changes( refLabel string, ctxChanges []entity.ContextChange, code entity.CodeSummary, ) string
Changes renders the full CLI output for `ctx changes`.
Parameters:
- refLabel: Human-readable reference time label
- ctxChanges: Context file changes since reference time
- code: Code change summary since reference time
Returns:
- string: Formatted Markdown output
func ChangesForHook ¶
func ChangesForHook( refLabel string, ctxChanges []entity.ContextChange, code entity.CodeSummary, ) string
ChangesForHook renders a compact summary for hook injection.
Parameters:
- refLabel: Human-readable reference time label
- ctxChanges: Context file changes since reference time
- code: Code change summary since reference time
Returns:
- string: Compact single-line summary, or empty if no changes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.