Sha256: b59a08c2108979fecf8751af6927eef8e39ced69e837651deaa13547ee09575d

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 Bytes

Contents

require_relative 'git_duplicator/version'
require_relative 'git_duplicator/duplicators'
require_relative 'git_duplicator/repositories'
require_relative 'git_duplicator/services'

# Main module
module GitDuplicator
  class << self
    # Perform the duplication
    # @see GitDuplicator::MirrorDuplicator
    def perform(from, to, options)
      MirrorDuplicator.new(from, to, options).perform
    end

    # Perform the duplication for updates
    # @see GitDuplicator::UpdateDuplicator
    def perform_for_update(from, to, options)
      UpdateDuplicator.new(from, to, options).perform
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git_duplicator-1.0.0 lib/git_duplicator.rb