mirror of
https://github.com/restic/restic.git
synced 2025-12-27 18:19:54 -05:00
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 | ||