Skip to content

fix(install): Move from cache when --no-cache#5039

Merged
rashil2000 merged 3 commits intodevelopfrom
cache-fix
Jul 16, 2022
Merged

fix(install): Move from cache when --no-cache#5039
rashil2000 merged 3 commits intodevelopfrom
cache-fix

Conversation

@rashil2000
Copy link
Copy Markdown
Member

Description

When the --no-cache flag is specified, the downloaded file should be moved from the cache folder, instead of copying it.

This was being done in dl_with_cache_aria2 function, but not in dl_with_cache function.

This PR fixes it.

Motivation and Context

Closes #5038

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

@rashil2000 rashil2000 merged commit 9e2e252 into develop Jul 16, 2022
@rashil2000 rashil2000 deleted the cache-fix branch July 16, 2022 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant