Module: Dapp::Project::Command::Stages::CleanupLocal

Included in:
Dapp::Project
Defined in:
lib/dapp/project/command/stages/cleanup_local.rb

Overview

CleanupLocal

Instance Method Summary collapse

Instance Method Details

#stages_cleanup_local(repo) ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/dapp/project/command/stages/cleanup_local.rb', line 9

def stages_cleanup_local(repo)
  lock_repo(repo, readonly: true) do
    registry = registry(repo)
    repo_dimgs = repo_dimgs_images(registry)
    proper_cache if proper_cache_version?
    cleanup_project(repo_dimgs)
  end
end