Ignore unexpected files in intermediate directories

Listing the data/ folder in a repository no longer fails if it contains
files in the data/ folder. This also ignore .DS_Store files created by
macOS.
This commit is contained in:
Michael Eischer
2023-04-08 19:57:20 +02:00
parent 11c5a548e8
commit 22a6412b81
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
Bugfix: Ignore unexpected files in the data/ folder
If the data folder of a repository contained files, this would prevent restic
from retrieving a list of file data files. This has been fixed. As a workaround
remove the files that are directly contained in the data folder (e.g.,
`.DS_Store` files).
https://github.com/restic/rest-server/issues/219
https://github.com/restic/rest-server/pull/221