mirror of
https://github.com/restic/restic.git
synced 2025-02-02 20:46:57 +00:00
944fc857eb
Sometimes s3 listobjects for a directory includes an entry for that directory. The restic s3 backend doesn't expect that and returns an error. Symptom is: ReadDir: invalid key name restic/key/, removing prefix restic/key/ yielded empty string I'm not sure when s3 does that; I'm unable to reproduce it myself. But in any case, it seems correct to ignore that when it happens. Fixes #1068 |
||
---|---|---|
.. | ||
azure | ||
b2 | ||
gs | ||
local | ||
location | ||
mem | ||
rest | ||
s3 | ||
sftp | ||
swift | ||
test | ||
testdata | ||
backend_error.go | ||
backend_retry.go | ||
backend_retry_test.go | ||
doc.go | ||
http_transport.go | ||
layout.go | ||
layout_default.go | ||
layout_rest.go | ||
layout_s3legacy.go | ||
layout_test.go | ||
paths.go | ||
semaphore.go | ||
utils.go | ||
utils_test.go |