Class: Avm::Git::Launcher::MirrorUpdate

Inherits:
Launcher::Paths::Real
  • Object
show all
Includes:
EacRubyUtils::SimpleCache
Defined in:
lib/avm/git/launcher/mirror_update.rb

Instance Method Summary collapse

Constructor Details

#initialize(target_path, source_path, source_rev) ⇒ MirrorUpdate

Returns a new instance of MirrorUpdate.



11
12
13
14
15
16
17
# File 'lib/avm/git/launcher/mirror_update.rb', line 11

def initialize(target_path, source_path, source_rev)
  super(target_path)
  @target_git = ::Avm::Git::Launcher::Base.new(self)
  @source_git = ::Avm::Git::Launcher::Base.new(source_path)
  @source_rev = source_rev
  run
end