class GitDuplicator::UpdateDuplicator

Mirror a repository and end make it ready for updates

Protected Instance Methods

perform_clean_up() click to toggle source
# File lib/git_duplicator/duplicator/update_duplicator.rb, line 15
def perform_clean_up; end
perform_clone_source() click to toggle source
# File lib/git_duplicator/duplicator/update_duplicator.rb, line 6
def perform_clone_source
  from.mirror_clone(clone_path)
end
perform_mirror() click to toggle source
# File lib/git_duplicator/duplicator/update_duplicator.rb, line 10
def perform_mirror
  from.set_mirrored_remote(to.url)
  from.update_mirrored
end