class Git::BranchCollection

Included Modules

Defined in:

git/branch.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(repo : Repo) #

[View source]

Instance Method Detail

def [](name) #

[View source]
def create(name : String, target : Commit, force : Bool = false) #

[View source]
def each(b_type : BranchType = BranchType::All) #
Description copied from module Iterable(Git::Branch)

Must return an Iterator over the elements in this collection.


[View source]
def each_name(b_type : BranchType = BranchType::All) #

[View source]