2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-28 14:40:49 +00:00
restic/internal/cache
greatroar 22147e1e02 all: Minor cleanups
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.
2022-10-16 10:50:39 +02:00
..
backend_test.go cache: Fix file descriptor leak in TestBackendRemoveBroken 2022-10-03 00:06:44 +02:00
backend.go cache: Drop cache entry if it cannot be processed 2022-09-25 11:55:09 +02:00
cache.go cache: Don't Lstat before creating the tag file 2022-05-10 18:52:39 +02:00
dir_test.go Add more error handling 2021-01-30 20:19:47 +01:00
dir.go Honor RESTIC_CACHE_DIR environment variable 2021-10-10 16:00:02 +02:00
file_test.go all: Minor cleanups 2022-10-16 10:50:39 +02:00
file.go cache: Just try to open cache entry without calling stat first 2022-08-19 20:59:06 +02:00
testing.go Add cache 2017-09-24 21:54:53 +02:00