Alexander Neumann
83d1a46526
Moves files
2017-07-23 14:19:13 +02:00
Toby Allen
cb3cd57926
Update links to design.md to design.rst
2017-07-15 19:35:45 +01:00
Alexander Neumann
4ae59bef96
prune: Remove invalid files
...
Closes #1029
2017-06-15 20:56:22 +02:00
Alexander Neumann
c79fb6fcdd
prune: Delete repacked files as the very last step
2017-06-15 14:46:50 +02:00
Alexander Neumann
46b7a270a6
Add context parameters to tests
2017-06-05 23:56:59 +02:00
Alexander Neumann
b9bddeff39
Normalise the backend API
...
This makes the following changes, before:
type backend interface {
// Test a boolean value whether a File with the name and type exists.
Test(t FileType, name string) (bool, error)
// Remove removes a File with type t and name.
Remove(t FileType, name string) error
}
After:
type backend interface {
// Test a boolean value whether a File with the name and type exists.
Test(h Handle) (bool, error)
// Remove removes a File with type t and name.
Remove(h Handle) error
}
2017-01-26 22:02:22 +01:00
Alexander Neumann
4f780a01f9
Index: Test pack ID
2017-01-22 22:09:56 +01:00
Alexander Neumann
dc6a832cc3
Correct BenchmarkIndexSave
2017-01-22 09:59:19 +01:00
Alexander Neumann
8dd7fe82ff
Add TestIndexSave
2017-01-20 14:46:14 +01:00
Alexander Neumann
dac18e3bf8
Improve BenchmarkIndexSave
2017-01-17 13:00:59 +01:00
Alexander Neumann
36276c41b2
Add Benchmark for IndexSave
2017-01-17 10:40:58 +01:00
Alexander Neumann
d40f566e41
Index: Use slices instead of maps, reduce data
2017-01-17 10:40:58 +01:00
Alexander Neumann
1dfd3b8aa3
Remove unused bits and pieces
...
Reported by https://github.com/dominikh/go-unused
2016-09-21 20:22:32 +02:00
Alexander Neumann
b628bcee27
Remove redundant ParseID
2016-09-04 14:38:18 +02:00
Alexander Neumann
ffbe05af9b
Rework crypto, use restic.Repository everywhere
2016-09-03 21:10:25 +02:00
Alexander Neumann
3695ba5882
Tests pass for restic/
2016-09-03 21:10:24 +02:00
Alexander Neumann
cc6a8b6e15
wip
2016-09-03 21:10:24 +02:00
Alexander Neumann
79e950b710
Remove dead code
2016-08-21 13:10:15 +02:00
Alexander Neumann
8de6e5a627
Add progress option to index
2016-08-16 21:30:14 +02:00
Alexander Neumann
c0ef1ec6fd
Add RemovePack for index
2016-08-16 21:30:14 +02:00
Alexander Neumann
47950b82a0
Add test for loading index from documentation
2016-08-16 21:30:14 +02:00
Alexander Neumann
9ecf7070af
Implement Lookup() and Save() for new Index
2016-08-16 21:30:14 +02:00
Alexander Neumann
2c517e4a33
Add Index structures for Blobs
2016-08-16 21:30:14 +02:00
Alexander Neumann
4bdd59b4ad
Index: Add DuplicateBlobs()
2016-08-16 21:30:14 +02:00
Alexander Neumann
1058a91b39
Add option to create duplicate blobs in TestCreateSnapshot
2016-08-16 21:30:14 +02:00
Alexander Neumann
240b8f273a
Add more index tests
2016-08-16 21:30:14 +02:00
Alexander Neumann
bad6184ab5
Add new Index data structure
2016-08-16 21:30:14 +02:00