mirror of
https://github.com/restic/restic.git
synced 2024-09-18 00:40:56 +02:00
4dc746dac2
The method of determining if a repository exists doesn't work on Windows, since the "url.Scheme" will contain the drive letter - "c" in "c:\backup", so as a first step we check if the URL can be opened as a file, and if so, we assume it is a 'local' type repository. |
||
---|---|---|
.. | ||
restic |