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

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

Instance Method Summary collapse

Methods inherited from Paths::Real

#basename, #dirname, #find_file_with_extension, #find_files_with_extension, #subpath

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/launcher/git/mirror_update.rb', line 11

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