Class: SVNx::Exec

Inherits:
Object
  • Object
show all
Defined in:
lib/svnx/exec.rb

Instance Method Summary collapse

Instance Method Details

#cat(path, revision, use_cache) ⇒ Object



13
14
15
16
# File 'lib/svnx/exec.rb', line 13

def cat path, revision, use_cache
  cmdargs = CatCommandArgs.new :path => path, :revision => revision, :use_cache => use_cache
  run_command CatCommand, cmdargs
end

#info(path, revision) ⇒ Object



23
24
25
26
# File 'lib/svnx/exec.rb', line 23

def info path, revision
  cmdargs = InfoCommandArgs.new :path => path, :revision => revision
  run_command InfoCommand, cmdargs
end

#log(path, revision, limit, verbose, use_cache) ⇒ Object



18
19
20
21
# File 'lib/svnx/exec.rb', line 18

def log path, revision, limit, verbose, use_cache
  cmdargs = LogCommandArgs.new :path => path, :revision => revision, :limit => limit, :verbose => verbose, :use_cache => use_cache
  run_command LogCommand, cmdargs
end

#status(path, use_cache) ⇒ Object



28
29
30
31
# File 'lib/svnx/exec.rb', line 28

def status path, use_cache
  cmdargs = StatusCommandArgs.new :path => path, :use_cache => use_cache
  run_command StatusCommand, cmdargs
end