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

lax FilesystemWriter lifetimes #361

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

rbran
Copy link
Contributor

@rbran rbran commented Nov 23, 2023

This commit allows two things:

  • Calling FilesystemWriter::write with Owned and RefMut writer.
  • push dir/file/etc with lifetimes unrelated to reader from from_fs_reader

Note: add.rs and replace.rs didn't required any change. I did it to show users that the writer parameter could be consumed by the function.

This commit allows two things:
- Calling `FilesystemWriter::write` with Owned and RefMut writer.
- push dir/file/etc with lifetimes unrelated to reader from `from_fs_reader`

Note: add.rs and replace.rs didn't required any change. I did it to show
users that the writer parameter could be consumed by the function.
Copy link

codecov bot commented Nov 23, 2023

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (7da9724) 73.07% compared to head (45cf648) 72.99%.

Files Patch % Lines
backhand/src/filesystem/writer.rs 48.27% 4 Missing and 11 partials ⚠️
backhand-cli/src/bin/add.rs 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #361      +/-   ##
==========================================
- Coverage   73.07%   72.99%   -0.08%     
==========================================
  Files          21       21              
  Lines        2908     2907       -1     
  Branches     2908     2907       -1     
==========================================
- Hits         2125     2122       -3     
- Misses        515      517       +2     
  Partials      268      268              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wcampbell0x2a
Copy link
Owner

Perfect, thanks.

@wcampbell0x2a wcampbell0x2a merged commit 4c891f7 into wcampbell0x2a:master Dec 1, 2023
29 of 31 checks passed
@wcampbell0x2a wcampbell0x2a added the S-Add-To-Changelog Status: Fixed, just needs added to Changelog label Dec 1, 2023
@wcampbell0x2a wcampbell0x2a removed the S-Add-To-Changelog Status: Fixed, just needs added to Changelog label Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants