mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 06:46:34 +00:00
22147e1e02
if x { return true } return false => return x fmt.Sprintf("%v", x) => fmt.Sprint(x) or x.String() The fmt.Sprintf idiom is still used in the SecretString tests, where it serves security hardening. |
||
---|---|---|
.. | ||
backend_test.go | ||
backend.go | ||
cache.go | ||
dir_test.go | ||
dir.go | ||
file_test.go | ||
file.go | ||
testing.go |