mirror of
https://github.com/restic/restic.git
synced 2025-11-14 22:32:47 +00:00
The io.Reader interface does not support contexts, such that it is necessary to embed the context into the backendReaderAt struct. This has the problem that a reader might suddenly stop working when it's contained context is canceled. However, this is now problem here as the reader instances never escape the calling function.