mirror of
https://github.com/restic/restic.git
synced 2026-05-10 12:35:24 +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.
6.0 KiB
6.0 KiB