Class: KuberKit::Tools::FilesSync

Inherits:
Object
  • Object
show all
Defined in:
lib/kuber_kit/tools/files_sync.rb

Instance Method Summary collapse

Instance Method Details

#sync(from_path, to_path, exclude: nil) ⇒ Object



7
8
9
# File 'lib/kuber_kit/tools/files_sync.rb', line 7

def sync(from_path, to_path, exclude: nil)
  rsync_commands.rsync(local_shell, from_path, to_path, exclude: exclude)
end