1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-02-21 21:57:31 +00:00
restic/internal/restic
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
..
testdata restic: Use stable sorting in snapshot policy 2022-08-07 14:10:40 +02:00
backend.go errors: Drop Cause in favor of Go 1.13 error handling 2022-10-08 13:08:08 +02:00
backend_find.go repository: remove unused PrefixLength 2022-10-03 12:15:53 +02:00
backend_find_test.go repository: remove unused PrefixLength 2022-10-03 12:15:53 +02:00
blob.go all: Minor cleanups 2022-10-16 10:50:39 +02:00
blob_set.go
blob_test.go
config.go repository: extract Load/StoreJSONUnpacked 2022-07-17 13:22:00 +02:00
config_test.go repository: extract Load/StoreJSONUnpacked 2022-07-17 13:22:00 +02:00
doc.go
duration.go comment cleanup 2022-08-18 20:15:38 +02:00
duration_test.go forget: Fail test if duration parsing error is missing 2022-08-18 20:14:09 +02:00
file.go
file_test.go
find.go repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
find_test.go repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
id.go internal/restic: Fix ID.UnmarshalJSON, ParseID 2022-10-16 10:39:52 +02:00
id_int_test.go
id_test.go internal/restic: Remove unused ID.EqualString 2022-10-14 18:20:11 +02:00
ids.go all: Minor cleanups 2022-10-16 10:50:39 +02:00
ids_test.go
idset.go
idset_test.go
json.go repository: extract Load/StoreJSONUnpacked 2022-07-17 13:22:00 +02:00
lock.go internal/restic: Fix UID/GID parsing 2022-10-14 18:21:00 +02:00
lock_test.go lock: Do not ignore invalid lock files 2022-10-03 00:19:46 +02:00
lock_unix.go internal/restic: Fix UID/GID parsing 2022-10-14 18:21:00 +02:00
lock_windows.go internal/restic: Fix UID/GID parsing 2022-10-14 18:21:00 +02:00
mknod_unix.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
node.go use os.Remove if path already exists on symlink restore 2022-09-14 08:14:31 +02:00
node_aix.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
node_darwin.go
node_freebsd.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
node_linux.go
node_netbsd.go
node_openbsd.go
node_solaris.go
node_test.go
node_unix.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
node_unix_test.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
node_windows.go
node_xattr.go restic: Cleanup xattr error handling for Solaris 2022-08-23 21:25:15 +02:00
repository.go repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
rewind_reader.go
rewind_reader_test.go
snapshot.go internal/restic: Fix UID/GID parsing 2022-10-14 18:21:00 +02:00
snapshot_find.go repository: extract Load/StoreJSONUnpacked 2022-07-17 13:22:00 +02:00
snapshot_find_test.go copy/find/ls/recover/stats: Memorize snapshot listing before index 2022-04-09 12:26:30 +02:00
snapshot_group.go
snapshot_policy.go restic: Use stable sorting in snapshot policy 2022-08-07 14:10:40 +02:00
snapshot_policy_test.go
snapshot_test.go repository: extract Load/StoreJSONUnpacked 2022-07-17 13:22:00 +02:00
tag_list.go all: Minor cleanups 2022-10-16 10:50:39 +02:00
tag_list_test.go
testing.go fuse: cleanup test 2022-08-05 23:46:46 +02:00
testing_test.go copy/find/ls/recover/stats: Memorize snapshot listing before index 2022-04-09 12:26:30 +02:00
tree.go backup: Only return a warning for duplicate directory entries 2022-10-08 21:38:21 +02:00
tree_stream.go repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
tree_test.go backup: Only return a warning for duplicate directory entries 2022-10-08 21:38:21 +02:00
zeroprefix.go restorer: move zeroPrefixLen to restic package 2022-09-24 21:39:39 +02:00
zeroprefix_test.go restorer: move zeroPrefixLen to restic package 2022-09-24 21:39:39 +02:00