Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(util): move dir for disk on different mount #1668

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BuidlWithShivam
Copy link
Contributor

Description

os.Rename gives error when moving cross disk. Instead, we use io.copy to copy from source to destination and delete source.

Related issue(s)

If this Pull Request is related to an issue, mention it here.

Copy link

codecov bot commented Jan 16, 2025

Codecov Report

Attention: Patch coverage is 10.25641% with 35 lines in your changes missing coverage. Please review.

Project coverage is 76.38%. Comparing base (86a8ba9) to head (3ae6bbc).
Report is 42 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1668      +/-   ##
==========================================
+ Coverage   75.07%   76.38%   +1.30%     
==========================================
  Files         234      241       +7     
  Lines       12156    18554    +6398     
==========================================
+ Hits         9126    14172    +5046     
- Misses       2582     3921    +1339     
- Partials      448      461      +13     

@Ja7ad Ja7ad requested review from b00f and Ja7ad January 16, 2025 13:21
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.

Failed import prune data to mounted path
1 participant