-
Notifications
You must be signed in to change notification settings - Fork 14
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
refactor(error): improve error messages and file handling #334
Draft
simonsan
wants to merge
8
commits into
main
Choose a base branch
from
fix/create-directories
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Oct 14, 2024
-
refactor(error): improve error messages and file handling
- Update error messages for file operations in the `LocalBackendErrorKind` enum. - Refactor the `ReadBackend` and `WriteBackend` implementations in the `LocalBackend` module to handle file opening errors more accurately. - Add error variants `OpeningFileForPartialReadingFailed` and `OpeningFileForWritingFailed` to provide specific information about file opening failures. - Create parent directory if it does not exist before opening the file for writing. Fixes #rustic-rs/rustic#1315 Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac73cc1 - Browse repository at this point
Copy the full SHA ac73cc1View commit details -
improve direction creation error as well
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c06125 - Browse repository at this point
Copy the full SHA 6c06125View commit details -
log error when pack file cannot be found instead of panicking
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b868ff7 - Browse repository at this point
Copy the full SHA b868ff7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 958f3c2 - Browse repository at this point
Copy the full SHA 958f3c2View commit details
Commits on Oct 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bb36d48 - Browse repository at this point
Copy the full SHA bb36d48View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa7bffc - Browse repository at this point
Copy the full SHA fa7bffcView commit details -
refactoring to option instead of result
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dadd302 - Browse repository at this point
Copy the full SHA dadd302View commit details
Commits on Oct 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6dda9a7 - Browse repository at this point
Copy the full SHA 6dda9a7View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.