Method: Bard::Copy#rsync

Defined in:
lib/bard/copy.rb

#rsyncObject



42
43
44
45
46
47
48
49
50
# File 'lib/bard/copy.rb', line 42

def rsync
  if from.key == :local
    rsync_using_local :to, to
  elsif to.key == :local
    rsync_using_local :from, from
  else
    rsync_as_mediator
  end
end