Class: Avm::Git::Organize::Repository
- Inherits:
-
Object
- Object
- 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
35 36 37 |
# File 'lib/avm/git/organize/repository.rb', line 35 def all_branches eac_git_local.execute! end |
#collect_originals ⇒ Object
28 29 30 31 32 33 |
# File 'lib/avm/git/organize/repository.rb', line 28 def collect_originals collect_references_with_pattern( %r{\Aoriginal/}, ::Avm::Git::Organize::ReferenceUpdate::OPERATION_REMOVE ) end |
#collect_subrepos ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/avm/git/organize/repository.rb', line 17 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
13 14 15 |
# File 'lib/avm/git/organize/repository.rb', line 13 def collected_references @collected_references || [] end |