Method: FPM::Cookery::SourceHandler::Svn#fetch

Defined in:
lib/fpm/cookery/source_handler/svn.rb

#fetch(config = {}) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/fpm/cookery/source_handler/svn.rb', line 11

def fetch(config = {})
  # TODO(lusis) - implement some caching using 'svn info'?
  Dir.chdir(cachedir) do
    svn(url, local_path)
  end
  local_path
end