1
0
mirror of https://github.com/restic/restic.git synced 2024-06-21 07:16:36 +02:00
restic/internal/backend
greatroar a2d4209322 Don't recurse in local backend's List if not required
Due to the return if !isFile, the IsDir branch in List was never taken
and subdirectories were traversed recursively.

Also replaced isFile by an IsRegular check, which has been equivalent
since Go 1.12 (golang/go@a2a3dd00c9).
2020-11-07 08:54:13 +01:00
..
azure Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
b2 Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
gs Swap deprecated GCS lib with replacement 2020-10-03 18:55:56 +02:00
local Don't recurse in local backend's List if not required 2020-11-07 08:54:13 +01:00
location Hide password from repository URLs 2020-09-22 22:00:51 +02:00
mem backend: Improve Save() 2018-03-03 15:49:44 +01:00
rclone rest: use global context on repository creation 2020-10-09 22:39:06 +02:00
rest rest: use global context on repository creation 2020-10-09 22:39:06 +02:00
s3 Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
sftp Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
swift Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
test Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
testdata Moves files 2017-07-23 14:19:13 +02:00
backend_error.go backend: Improve Save() 2018-03-03 15:49:44 +01:00
backend_retry_test.go Upgrade github.com/cenkalti/backoff module 2020-10-07 22:04:59 +02:00
backend_retry.go Upgrade github.com/cenkalti/backoff module 2020-10-07 22:04:59 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
foreground_solaris.go Sanitize environment before starting backend processes (rclone, ssh) 2020-11-02 16:41:23 +01:00
foreground_test.go Sanitize environment before starting backend processes (rclone, ssh) 2020-11-02 16:41:23 +01:00
foreground_unix.go Sanitize environment before starting backend processes (rclone, ssh) 2020-11-02 16:41:23 +01:00
foreground_windows.go Sanitize environment before starting backend processes (rclone, ssh) 2020-11-02 16:41:23 +01:00
foreground.go Sanitize environment before starting backend processes (rclone, ssh) 2020-11-02 16:41:23 +01:00
http_transport.go http backend: Parse the correct argument when loading --tls-client-cert 2018-04-30 15:21:09 -07:00
layout_default.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
layout_rest.go backend: Only return top-level files for most dirs 2017-12-14 19:14:16 +01:00
layout_s3legacy.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
layout_test.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
layout.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
paths.go Moves files 2017-07-23 14:19:13 +02:00
semaphore.go uint cannot be less than zero 2020-09-05 10:07:16 +02:00
shell_split_test.go Refactor SplitShellStrings 2018-04-01 10:16:31 +02:00
shell_split.go Refactor SplitShellStrings 2018-04-01 10:16:31 +02:00
utils_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
utils.go Flatten backend.LimitedReadCloser structure 2020-06-17 13:11:45 +02:00