module Repoaccessor

Constants

VERSION

Public Class Methods

checkout(usrname,pwd,url,dstPath,force = true,type = "svn") click to toggle source
# File lib/repoaccessor.rb, line 12
def self.checkout(usrname,pwd,url,dstPath,force = true,type = "svn")
              if type == "svn"
                      client = Svn.new(usrname,pwd)
                      client.checkout(url,dstPath)
              else
                      # TODO : Git ...
              end
end
inspect_repo(path,platform = "ios") click to toggle source
# File lib/repoaccessor.rb, line 22
def self.inspect_repo(path,platform = "ios")
      repo = Repo.new(path,platform)
      repo.to_hash.to_json
end