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

get_*_dir: add/use create argument #7778

Merged

Conversation

ThomasWaldmann
Copy link
Member

No description provided.

... and only call ensure_dir if create is True.
In these tests, we only compare paths, but we do not
need to create these paths for that. By not trying to
create them, we can avoid permission issues, e.g. under
fakeroot.
@codecov-commenter
Copy link

codecov-commenter commented Aug 27, 2023

Codecov Report

Merging #7778 (836b517) into master (8ed6ec5) will decrease coverage by 0.03%.
Report is 2 commits behind head on master.
The diff coverage is 95.83%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master    #7778      +/-   ##
==========================================
- Coverage   83.69%   83.67%   -0.03%     
==========================================
  Files          66       66              
  Lines       11906    11912       +6     
  Branches     2158     2164       +6     
==========================================
+ Hits         9965     9967       +2     
- Misses       1367     1368       +1     
- Partials      574      577       +3     
Files Changed Coverage Δ
src/borg/helpers/fs.py 83.21% <95.83%> (+<0.01%) ⬆️

... and 2 files with indirect coverage changes

@ThomasWaldmann ThomasWaldmann merged commit 678501a into borgbackup:master Aug 27, 2023
@ThomasWaldmann ThomasWaldmann deleted the get-dir-create-arg-master branch August 27, 2023 01:59
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.

2 participants