Michael Eischer
|
9aa0c90fb2
|
index: remove supersedes field
Using the field with its current semantics is nearly impossible to get
right. Remove it as it will be replaced anyways in repository format 3.
|
2024-05-24 21:33:17 +02:00 |
|
Michael Eischer
|
550d1eeac3
|
repository: remove SaveIndex from interface
The method is now only indirectly accessible via Prune or RepairIndex.
|
2024-05-24 21:33:17 +02:00 |
|
Michael Eischer
|
447b486c20
|
index: deduplicate index loading of check and repository
|
2024-05-24 21:33:17 +02:00 |
|
Michael Eischer
|
223aa22cb0
|
replace some uses of restic.Repository with finegrained interfaces
|
2024-05-18 21:42:51 +02:00 |
|
Michael Eischer
|
940a3159b5
|
let index.Each() and pack.Size() return error on canceled context
This forces a caller to actually check that the function did complete.
|
2024-04-22 22:39:32 +02:00 |
|
Michael Eischer
|
31624aeffd
|
Improve command shutdown on context cancellation
|
2024-04-22 22:31:38 +02:00 |
|
Michael Eischer
|
cb50832d50
|
index: let MasterIndex.Save also delete obsolete indexes
|
2024-01-27 12:51:08 +01:00 |
|
Andrea Gelmini
|
241916d55b
|
Fix typos
|
2023-12-06 13:11:55 +01:00 |
|
Michael Eischer
|
2e3f1c08c5
|
repository: split index into a separate package
|
2022-10-08 21:15:34 +02:00 |
|