restic/internal/archiver
Matthew Dawson 3a16148447
archiver/archiver: Use Index.Has() instead of Index.Lookup() in isKnownBlob
Index.Has() is a faster then Index.Lookup() for checking if a blob exists
in the index.  As the returned data is never used, this avoids a ton
of allocations.
2018-01-23 22:26:10 -05:00
..
archive_reader.go replace ad-hoc context.TODO() with gopts.ctx, so that cancellation 2017-12-03 07:22:14 -05:00
archive_reader_test.go repository/master_index: Optimize Index.Lookup() 2018-01-23 22:25:56 -05:00
archiver.go archiver/archiver: Use Index.Has() instead of Index.Lookup() in isKnownBlob 2018-01-23 22:26:10 -05:00
archiver_duplication_test.go replace ad-hoc context.TODO() with gopts.ctx, so that cancellation 2017-12-03 07:22:14 -05:00
archiver_int_test.go Run goimports 2017-07-23 14:21:03 +02:00
archiver_test.go replace ad-hoc context.TODO() with gopts.ctx, so that cancellation 2017-12-03 07:22:14 -05:00
buffer_pool.go Moves files 2017-07-23 14:19:13 +02:00
testing.go new sub-option for backup: time 2017-09-09 13:26:35 +02:00