Sha256: 704b6ffd620a73212c0894dca70dc08204528eecca5fa97944178b1438e7f82d

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

module GitDuplicator
  # Mirror a repository and end make it ready for updates
  class UpdateDuplicator < Duplicator
    protected
    
    def perform_clone_source
      from.mirror_clone(clone_path)
    end

    def perform_mirror
      from.set_mirrored_remote(to.url)
      from.update_mirrored
    end

    def perform_clean_up; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git_duplicator-1.0.0 lib/git_duplicator/duplicator/update_duplicator.rb