module Grits::Mixins::Repo
Included Modules
Direct including types
Defined in:
grits/mixins/repo.crInstance Method Summary
- #bare?
- #checkout_head(options : CheckoutOptions = CheckoutOptions.default)
- #checkout_tree(object : Grits::Object, options : CheckoutOptions = CheckoutOptions.default)
- #commondir
- #config(snapshot : Bool | Nil = false, &)
- #configure_identity(name : String | Nil = nil, email : String | Nil = nil) : Nil
- #configured_identity : Tuple(String | Nil, String | Nil)
- #create_branch(name : String, *, ref : String = "HEAD", force : Bool = false)
- #create_remote(name : String, url : String)
- #create_remote(name : String, url : String, &)
- #create_remote_with_fetchspec(name : String, url : String, refspec : String)
- #detach_head
- #diff_workdir(options = DiffOptions.default) : Diff
- #diff_workdir(options = DiffOptions.default, &)
- #discover(start : String, across_fs : Bool = false, cieling_dirs : String = "") : String
- #each_fetchhead(&block : EachFetchHeadCb) : Void
- #empty?
- #hash_file(path : String, type : Object::Type, as_path : String | Nil = nil)
- #head
- #head?
- #head_detached?
- #head_unborn?
- #item_path(item : Item)
- #lookup_commit(sha : String) : Commit
- #mirror_remote(name : String, url : String)
- #namespace : String | Nil
- #object_database(&)
- #path
- #remote(name : String)
- #remotes
- #remotes(&)
- #revparse_single(text : String)
- #set_head(name : String)
- #shallow? : Bool
- #workdir
- #worktree
- #worktree(&)
- #worktree?
- #worktree_head(worktree : String) : Reference | Nil
- #worktree_head_detached?(worktree : String)
Instance methods inherited from module Grits::Mixins::Repository::Tag
each_tag(&block : Grits::Tag | Grits::Commit | Grits::Tree -> Bool)
each_tag,
each_tag_info(&block : Grits::TagInfo -> Bool)
each_tag_info,
tag_list : Array(String)
tag_list,
tags
tags
Instance methods inherited from module Grits::Mixins::Repository::Commit
commit_at(reference, & : Grits::Commit -> )
commit_at,
commit_at_head(&)
commit_at_head,
lookup_commit_by_oid(oid : Grits::Oid) : Grits::Commit
lookup_commit_by_oid,
object_id_at(reference) : Oid
object_id_at
Instance methods inherited from module Grits::Mixins::Repository::Tree
lookup_tree(sha : String)lookup_tree(oid : Oid)
lookup_tree(sha : String, &)
lookup_tree(oid : Oid, &) lookup_tree, tree_at(ref : String, &) tree_at