class Grits::Index

Included Modules

Defined in:

grits/index.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(raw : LibGit::Index, repo : Grits::Repo) #

[View source]

Instance Method Detail

def add(path : String) : Void #

[View source]
def add(paths : Array(String), flags : Array(IndexAddOption) = [] of IndexAddOption, ¬ification_callback : String, String -> Bool | Nil) #

[View source]
def add_file(path : String) : Void #

[View source]
def add_files(path_expressions : Array(String), flags : Array(IndexAddOption) = [] of IndexAddOption, ¬ification : String, String -> Bool | Nil) #

[View source]
def clear : Nil #

[View source]
def diff_workdir(options = DiffOptions.default) : Diff #

[View source]
def diff_workdir(options = DiffOptions.default, &) #

[View source]
def free #

[View source]
def has_conflicts? : Bool #

[View source]
def read_tree(tree : Tree) #

[View source]
def write : Bool #

[View source]
def write_tree #

[View source]
def write_tree(&) #

[View source]