Class: Avm::Git::Organize::Repository
- Defined in:
- lib/avm/git/organize/repository.rb
Instance Method Summary collapse
- #all_branches ⇒ Object
- #collect_originals ⇒ Object
- #collect_subrepos ⇒ Object
- #collected_references ⇒ Object
Instance Method Details
#all_branches ⇒ Object
34 35 36 |
# File 'lib/avm/git/organize/repository.rb', line 34 def all_branches eac_git_local.execute! end |
#collect_originals ⇒ Object
27 28 29 30 31 32 |
# File 'lib/avm/git/organize/repository.rb', line 27 def collect_originals collect_references_with_pattern( %r{\Aoriginal/}, ::Avm::Git::Organize::ReferenceUpdate::OPERATION_REMOVE ) end |
#collect_subrepos ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/avm/git/organize/repository.rb', line 16 def collect_subrepos collect_references_with_pattern( %r{\Asubrepo/}, ::Avm::Git::Organize::ReferenceUpdate::OPERATION_REMOVE ) collect_references_with_pattern( %r{\Aheads/subrepo/}, ::Avm::Git::Organize::ReferenceUpdate::OPERATION_REMOVE ) end |
#collected_references ⇒ Object
12 13 14 |
# File 'lib/avm/git/organize/repository.rb', line 12 def collected_references @collected_references || [] end |