2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-09 12:22:34 +00:00
restic/internal/restic
greatroar 2dafda9164 ui/progress: Load both values in a single Lock/Unlock
We always need both values, except in a test, so we don't need to lock
twice and risk scheduling in between.

Also, removed the resetting in Done. This copied a mutex, which isn't
allowed. Static analyzers tend to trip over that.
2022-10-25 07:55:24 +02:00
..
testdata restic: Use stable sorting in snapshot policy 2022-08-07 14:10:40 +02:00
backend_find_test.go restic: change Find to return ids 2022-10-15 16:06:54 +02:00
backend_find.go restic: change Find to return ids 2022-10-15 16:06:54 +02:00
backend.go errors: Drop Cause in favor of Go 1.13 error handling 2022-10-08 13:08:08 +02:00
blob_set.go prune: Use a single CountedBlobSet to track blobs 2022-10-22 18:45:12 +02:00
blob_test.go
blob.go all: Minor cleanups 2022-10-16 10:50:39 +02:00
config_test.go
config.go
counted_blob_set_test.go prune: Shrink keepBlobs set if possible 2022-10-22 18:45:12 +02:00
counted_blob_set.go prune: Shrink keepBlobs set if possible 2022-10-22 18:45:12 +02:00
doc.go
duration_test.go forget: Fail test if duration parsing error is missing 2022-08-18 20:14:09 +02:00
duration.go comment cleanup 2022-08-18 20:15:38 +02:00
file_test.go internal/restic: Make FileType a uint8 instead of a string 2022-10-16 10:59:01 +02:00
file.go internal/restic: Make FileType a uint8 instead of a string 2022-10-16 10:59:01 +02:00
find_test.go ui/progress: Load both values in a single Lock/Unlock 2022-10-25 07:55:24 +02:00
find.go prune: Use a single CountedBlobSet to track blobs 2022-10-22 18:45:12 +02:00
id_int_test.go
id_test.go internal/restic: Remove unused ID.EqualString 2022-10-14 18:20:11 +02:00
id.go internal/restic: Fix ID.UnmarshalJSON, ParseID 2022-10-16 10:39:52 +02:00
ids_test.go
ids.go all: Minor cleanups 2022-10-16 10:50:39 +02:00
idset_test.go
idset.go
json.go
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
lock.go parallelize more List usages 2022-10-21 21:26:45 +02:00
mknod_unix.go
node_aix.go
node_darwin.go
node_freebsd.go
node_linux.go
node_netbsd.go
node_openbsd.go
node_solaris.go
node_test.go
node_unix_test.go
node_unix.go
node_windows.go
node_xattr.go restic: Cleanup xattr error handling for Solaris 2022-08-23 21:25:15 +02:00
node.go use os.Remove if path already exists on symlink restore 2022-09-14 08:14:31 +02:00
parallel.go restic: Unify code to load Index/Lock/Snapshot 2022-10-21 21:25:11 +02:00
repository.go repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
rewind_reader_test.go
rewind_reader.go
snapshot_find_test.go restic: Change FindSnapshot functions to return the snapshot 2022-10-15 13:34:04 +02:00
snapshot_find.go restic: change Find to return ids 2022-10-15 16:06:54 +02:00
snapshot_group.go
snapshot_policy_test.go
snapshot_policy.go restic: Use stable sorting in snapshot policy 2022-08-07 14:10:40 +02:00
snapshot_test.go
snapshot.go restic: Unify code to load Index/Lock/Snapshot 2022-10-21 21:25:11 +02:00
tag_list_test.go
tag_list.go all: Minor cleanups 2022-10-16 10:50:39 +02:00
testing_test.go
testing.go
tree_stream.go
tree_test.go backup: Only return a warning for duplicate directory entries 2022-10-08 21:38:21 +02:00
tree.go internal/restic: Use errors.New when no formatting is needed 2022-10-14 14:07:20 +02:00
zeroprefix_test.go restorer: move zeroPrefixLen to restic package 2022-09-24 21:39:39 +02:00
zeroprefix.go restorer: move zeroPrefixLen to restic package 2022-09-24 21:39:39 +02:00