mirror of
https://github.com/restic/restic.git
synced 2026-08-06 21:53:18 +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