borgbackup / borg

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

Location.canonical_path: some fixes, see #8446 #8447

Closed ThomasWaldmann closed 1 month ago

ThomasWaldmann commented 1 month ago

1st commit: just fixing the protocol part:

% borg repo-info
Location: rclone://None/./pcloud:justtesting

2nd commit: do not display None, but rather empty host:

% borg repo-info    
Location: rclone:///./pcloud:justtesting
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.64%. Comparing base (de439ee) to head (136d3dc). Report is 11 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8447 +/- ## ======================================= Coverage 81.64% 81.64% ======================================= Files 71 71 Lines 12906 12906 Branches 2337 2337 ======================================= Hits 10537 10537 Misses 1707 1707 Partials 662 662 ```

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