borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
10.74k stars 734 forks source link

refactor: use less binascii #8104

Closed ThomasWaldmann closed 4 months ago

ThomasWaldmann commented 4 months ago

our own hex_to_bin / bin_to_hex is more comfortable to use.

also: optimize remaining binascii usage / imports.

codecov-commenter commented 4 months ago

Codecov Report

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

Comparison is base (3bfd765) 83.82% compared to head (334fbab) 83.95%.

Files Patch % Lines
src/borg/archiver/config_cmd.py 50.00% 1 Missing :warning:
src/borg/archiver/debug_cmd.py 87.50% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8104 +/- ## ========================================== + Coverage 83.82% 83.95% +0.13% ========================================== Files 67 67 Lines 12013 11994 -19 Branches 2175 2170 -5 ========================================== Hits 10070 10070 + Misses 1358 1342 -16 + Partials 585 582 -3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.