Versions in this module Expand all Collapse all v0 v0.2.0 Oct 7, 2026 v0.1.0 Oct 3, 2026 Changes in this version + type ReviewAction string + const ReviewAdd + const ReviewDelete + const ReviewMove + const ReviewUpdate + func (action ReviewAction) Title() string + type ReviewComposition struct + func (c *ReviewComposition) ApplyWithHighlight(file ReviewFile, hidden, highlighted bool) error + func (c *ReviewComposition) Consistent(content string) bool + func (c *ReviewComposition) FilesWithHighlights() []ReviewHighlightedFile + type ReviewFile struct + AfterPath string + BeforePath string + Binary bool + CopyFrom string + Diff string + Directory bool + Incomplete string + Link bool + Origin string + OriginNote string + func RenderBinaryReviewFile(beforePath, afterPath string, beforeSize, afterSize int64, ...) ReviewFile + func RenderIncompleteReviewFile(beforePath, afterPath, reason string) ReviewFile + func RenderReviewFile(beforePath, afterPath, before, after string) ReviewFile + func RenderReviewPreviewFile(beforePath, afterPath, before, after string) ReviewFile + func RenderUnbasedReviewFile(path, after, reason string) ReviewFile + func (file ReviewFile) Action() ReviewAction + func (file ReviewFile) Hunks() ([]ReviewHunk, error) + func (file ReviewFile) LineCounts() (added, removed int) + func (file ReviewFile) Merge(current string, reverse bool, label string) (ReviewMerge, error) + func (file ReviewFile) UnifiedDiff() string + func (file ReviewFile) UnifiedDiffForWorkspace(workspace string) string + type ReviewHighlightedFile struct + Highlighted bool + type ReviewHunk struct + AfterStart int + BeforeStart int + ChangedStart int + Rows []ReviewRow + type ReviewMerge struct + Conflicts int + Content string + Rejected []string + Satisfied int + type ReviewRow struct + Kind byte + Text string