Method: Indocker::Rsync.local_sync
- Defined in:
- lib/indocker/rsync.rb
.local_sync(from, to, create_path: nil, raise_on_error: false, exclude: nil) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/indocker/rsync.rb', line 4 def self.local_sync(from, to, create_path: nil, raise_on_error: false, exclude: nil) @session ||= Indocker::SshSession.new( host: 'localhost', user: nil, port: nil, logger: Indocker.logger ) sync(@session, from, to, create_path: create_path, raise_on_error: raise_on_error, exclude: exclude) end |