Versions in this module Expand all Collapse all v0 v0.19.11 Feb 5, 2026 Changes in this version + func SummarizeString(ctx context.Context, rawPatch string, changeset Changeset) (string, error) + type Changeset interface + AddedPaths func(context.Context) ([]string, error) + RemovedPaths func(context.Context) ([]string, error) + type File interface + Contents func(context.Context) (string, error) + type PatchPreview struct + AddedDirs []string + Patch *diffparser.Diff + RemovedDirs []string + func New(ctx context.Context, rawPatch string, changeset Changeset) (*PatchPreview, error) + func (preview *PatchPreview) Summarize(out *termenv.Output, maxWidth int) error