Method: R10K::Module::Git#sync

Defined in:
lib/r10k/module/git.rb

#syncObject



33
34
35
36
37
38
39
40
41
42
43
# File 'lib/r10k/module/git.rb', line 33

def sync
  case status
  when :absent
    install
  when :mismatched
    uninstall
    install
  when :outdated
    @working_dir.sync
  end
end