Module: ProjectStartImport

Included in:
Gitlab::JiraImport::Stage::StartImportWorker, RepositoryForkWorker, RepositoryImportWorker
Defined in:
app/workers/concerns/project_start_import.rb

Overview

Used in EE by mirroring

Instance Method Summary collapse

Instance Method Details

#start(import_state) ⇒ Object


5
6
7
8
9
10
11
# File 'app/workers/concerns/project_start_import.rb', line 5

def start(import_state)
  if import_state.started? && import_state.jid == self.jid
    return true
  end

  import_state.start
end