1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-02-02 20:46:57 +00:00
restic/internal/backend
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
..
azure
b2 b2: simplify object iteration 2018-10-05 11:39:02 -07:00
gs gs: Respect bandwidth limiting 2018-11-25 18:52:32 +01:00
local
location
mem
rclone rclone: Rework backend option parsing 2019-03-02 10:36:42 +01:00
rest
s3 S3 backend: accept AWS_SESSION_TOKEN 2018-07-12 16:18:19 +03:00
sftp
swift Swift: introduce application credential auth support 2019-02-14 14:19:05 +01:00
test Add []byte to repo.LoadAndDecrypt and utils.LoadAll 2019-04-13 13:38:39 +02:00
testdata
backend_error.go
backend_retry.go
backend_retry_test.go
doc.go
foreground_solaris.go
foreground_unix.go
foreground_windows.go
http_transport.go
layout.go
layout_default.go
layout_rest.go
layout_s3legacy.go
layout_test.go
paths.go
semaphore.go
shell_split.go
shell_split_test.go
utils.go Add []byte to repo.LoadAndDecrypt and utils.LoadAll 2019-04-13 13:38:39 +02:00
utils_test.go Add []byte to repo.LoadAndDecrypt and utils.LoadAll 2019-04-13 13:38:39 +02:00