mirror of
https://github.com/restic/restic.git
synced 2026-09-21 03:28:30 +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