Versions in this module Expand all Collapse all v0 v0.1.0 Mar 18, 2026 Changes in this version + type DiffOption func(*diffConfig) + func WithContextLines(n int) DiffOption + func WithMaxBinaryScanBytes(n int) DiffOption + type DiffResult struct + Files []FileDiff + func DiffDirs(fs opctx.FS, dirA, dirB string, opts ...DiffOption) (*DiffResult, error) + func (r *DiffResult) ColorString() string + func (r *DiffResult) String() string + type FileDiff struct + IsBinary bool + Message string + Path string + Status FileStatus + UnifiedDiff string + func (f FileDiff) MarshalJSON() ([]byte, error) + type FileStatus string + const FileStatusAdded + const FileStatusModified + const FileStatusRemoved + const FileStatusTypeChanged