Class: Gitlab::BackgroundMigration::BackfillSecurityProjectTrackedContextsDefaultBranch::Storage::LegacyProject

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/background_migration/backfill_security_project_tracked_contexts_default_branch.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(project) ⇒ LegacyProject

Returns a new instance of LegacyProject.



77
78
79
# File 'lib/gitlab/background_migration/backfill_security_project_tracked_contexts_default_branch.rb', line 77

def initialize(project)
  @project = project
end

Instance Attribute Details

#projectObject

Returns the value of attribute project.



75
76
77
# File 'lib/gitlab/background_migration/backfill_security_project_tracked_contexts_default_branch.rb', line 75

def project
  @project
end

Instance Method Details

#disk_pathObject



81
82
83
# File 'lib/gitlab/background_migration/backfill_security_project_tracked_contexts_default_branch.rb', line 81

def disk_path
  project.full_path
end