class Perkins::GitLoaderWorker

Public Instance Methods

perform(repo_id) click to toggle source
# File lib/perkins/git_loader_worker.rb, line 9
def perform(repo_id)
  repo = Perkins::Repo.find(repo_id)
  #return if repo.downloading? or repo.downloaded?
  #it actually clone repo and instantiates git data
  repo.load_git
end