Class URI::Rsync
In: lib/uri/rsync.rb
Parent: GenericEx

Methods

commit   mk_arg   mk_opts  

Constants

SCHEMES = ['rsync.ssh'.freeze]
DEFAULT_HOST = 'localhost'.freeze
DEFAULT_QUERY = ''.freeze
COMPONENT = [ :scheme, :userinfo, :host, :path, :query

Public Instance methods

def save checkout.first.save end

[Source]

# File lib/uri/rsync.rb, line 39
    def commit ( aPath )
      shell.rsync! mk_opts, aPath, mk_arg
    end

[Source]

# File lib/uri/rsync.rb, line 26
    def mk_arg
      "#@user@#@host:#{@path.gsub(/^\//, '')}"
    end

[Source]

# File lib/uri/rsync.rb, line 22
    def mk_opts
      ['-va'] + mk_custom_opts
    end

[Validate]