using System; namespace LibGit2Sharp { /// /// Options to define file comparison behavior. /// public sealed class CompareOptions { /// /// Initializes a new instance of the class. /// public CompareOptions() { ContextLines = 3; InterhunkLines = 0; } /// /// The number of unchanged lines that define the boundary of a hunk (and to display before and after). /// (Default = 3) /// public int ContextLines { get; set; } /// /// The maximum number of unchanged lines between hunk boundaries before the hunks will be merged into a one. /// (Default = 0) /// public int InterhunkLines { get; set; } /// /// Options for rename detection. If null, the `diff.renames` configuration setting is used. /// public SimilarityOptions Similarity { get; set; } /// /// Include "unmodified" entries in the results. /// public bool IncludeUnmodified { get; set; } } }