mirror of
https://github.com/restic/restic.git
synced 2026-04-07 21:58:50 +00:00
in case of len(format) == 0, we will get an "index out of range" error Usage of strings.HasSuffix is allowing to avoid that
in case of len(format) == 0, we will get an "index out of range" error Usage of strings.HasSuffix is allowing to avoid that