mirror of
https://github.com/restic/restic.git
synced 2025-02-03 04:56:48 +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. |
||
---|---|---|
.. | ||
archiver.go | ||
archiver_test.go | ||
archiver_unix_test.go | ||
archiver_windows_test.go | ||
blob_saver.go | ||
blob_saver_test.go | ||
buffer.go | ||
doc.go | ||
file_saver.go | ||
file_saver_test.go | ||
scanner.go | ||
scanner_test.go | ||
testing.go | ||
testing_test.go | ||
tree.go | ||
tree_saver.go | ||
tree_saver_test.go | ||
tree_test.go |