restic/internal
Michael Eischer 5607fd759f repository: fix race condition for blobSaver shutdown
wg.Go() may not be called after wg.Wait(). This prevents connecting two
errgroups such that the errors are propagated between them if the child
errgroup dynamically starts goroutines. Instead use just a single errgroup,
and sequence the shutdown using a sync.WaitGroup. This is far simpler
and does not require any "clever" tricks.
2025-11-26 21:18:22 +01:00
..
archiver repository: fix race condition for blobSaver shutdown 2025-11-26 21:18:22 +01:00
backend Merge pull request #5472 from wplapper/cmd_copy_stream 2025-11-26 20:57:46 +01:00
bloblru Fix typos 2024-07-03 20:02:06 +02:00
checker repository: add SaveBlobAsync method 2025-11-26 21:18:21 +01:00
crypto crypto: cleanup ciphertext verification error 2024-06-05 22:33:20 +02:00
data repository: add SaveBlobAsync method 2025-11-26 21:18:21 +01:00
debug Reduce linter ignores 2025-09-21 22:24:27 +02:00
dump data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
errors tests: add tests for preserving underlying errors 2025-09-13 23:32:39 +05:30
feature readd feature flags removed too soon 2025-03-26 18:38:30 +01:00
filter get rid of fmt.Print* usages 2025-10-03 18:55:46 +02:00
fs Merge pull request #5424 from Crazycatz00/sebackup-fixes 2025-11-16 21:35:35 +01:00
fuse data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
global global: split CreateRepository and OpenRepository into smaller functions 2025-10-12 18:20:45 +02:00
migrations Fix godoc comments. 2025-03-22 18:20:30 +00:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
repository repository: fix race condition for blobSaver shutdown 2025-11-26 21:18:22 +01:00
restic repository: add SaveBlobAsync method 2025-11-26 21:18:21 +01:00
restorer repository: add SaveBlobAsync method 2025-11-26 21:18:21 +01:00
selfupdate Allow for a personal token to be specified for self-updates (#5568) 2025-11-17 21:39:39 +01:00
terminal termstatus: use errWriter if terminal commands fail 2025-10-03 18:55:46 +02:00
test use consistent alias for interal/test package 2024-03-29 00:24:03 +01:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui Merge pull request #5556 from greatroar/cleanup 2025-10-12 18:22:36 +02:00
walker repository: enforce that SaveBlob is called within WithBlobUploader 2025-10-12 18:26:26 +02:00