struct Grits::DiffOptions

Included Modules

Defined in:

grits/diff_options.cr

Constructors

Instance Method Summary

Macro Summary

Instance methods inherited from module Grits::Mixins::Callbacks

add_callbacks add_callbacks

Constructor Detail

def self.default : DiffOptions #

[View source]
def self.new(raw : LibGit::DiffOptions) #

[View source]

Instance Method Detail

def computed_unsafe #

[View source]
def computed_unsafe_ptr #

[View source]
def context_lines #

[View source]
def context_lines=(value) #

[View source]
def disable_pathspec_match : Nil #

[View source]
def enable_fast_untracked_dirs : Nil #

[View source]
def flags=(flags : Array(Type)) #

[View source]
def force_binary : Nil #

[View source]
def force_text : Nil #

[View source]
def id_abbrev #

[View source]
def id_abbrev=(value) #

[View source]
def ignore_blank_lines : Nil #

[View source]
def ignore_case : Nil #

[View source]
def ignore_case_change : Nil #

[View source]
def ignore_filemode : Nil #

[View source]
def ignore_submodules #

[View source]
def ignore_submodules=(val : SubmoduleIgnore) #

[View source]
def ignore_whitespace : Nil #

[View source]
def ignore_whitespace_change : Nil #

[View source]
def ignore_whitespace_eol : Nil #

[View source]
def include_ignored : Nil #

[View source]
def include_typechange : Nil #

[View source]
def include_typechange_trees : Nil #

[View source]
def include_unreadable : Nil #

[View source]
def include_unreadable_as_untracked : Nil #

[View source]
def include_untracked : Nil #

[View source]
def indent_heuristic : Nil #

[View source]
def interhunk_lines #

[View source]
def interhunk_lines=(value) #

[View source]
def max_size #

[View source]
def max_size=(size : Int64) #

[View source]
def minimal : Nil #

[View source]
def new_prefix : String #

[View source]
def new_prefix=(val) #

[View source]
def normal : Nil #

[View source]
def old_prefix : String #

[View source]
def old_prefix=(val) #

[View source]
def on_notify(&block : DiffOptionsNotifyCb) #

[View source]
def on_progress(&block : DiffOptionsProgressCb) #

[View source]
def pathspec=(paths : Array(String)) #

[View source]
def patience : Nil #

[View source]
def recurse_ignored_dirs : Nil #

[View source]
def reverse : Nil #

[View source]
def show_binary : Nil #

[View source]
def show_unmodified : Nil #

[View source]
def show_untracked_content : Nil #

[View source]
def skip_binary_check : Nil #

[View source]
def update_index : Nil #

[View source]
def use_ignore_submodules : Nil #

[View source]

Macro Detail

macro add_flag_method(method, type) #

[View source]