2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-05 12:57:53 +00:00
restic/internal/backend/test
Alexander Neumann d51e9d1b98 Add []byte to repo.LoadAndDecrypt and utils.LoadAll
This commit changes the signatures for repository.LoadAndDecrypt and
utils.LoadAll to allow passing in a []byte as the buffer to use. This
buffer is enlarged as needed, and returned back to the caller for
further use.

In later commits, this allows reducing allocations by reusing a buffer
for multiple calls, e.g. in a worker function.
2019-04-13 13:38:39 +02:00
..
benchmarks.go backend: Improve Save() 2018-03-03 15:49:44 +01:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
suite.go Ignore "not exist" errors for swift backend tests 2017-09-16 13:59:55 +02:00
tests_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
tests.go Add []byte to repo.LoadAndDecrypt and utils.LoadAll 2019-04-13 13:38:39 +02:00