Documentation
¶
Overview ¶
Package streamdiff intercepts streaming Git patches on stdin (git diff, git log -p, git show), fetches the blobs, and renders AST diffs in place of standard patch text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StreamConfig ¶
type StreamConfig struct {
Format string
DiffOpts pipeline.DiffOptions
UnifiedOpts unified.RenderOptions
SideBySideOpts sidebyside.RenderOptions
// IsActive reports whether the output receiver is still alive and accepting data.
// If nil, processing continues until EOF.
IsActive func() bool
}
StreamConfig configures the streaming diff processor and renderers.