mirror of
https://github.com/restic/restic.git
synced 2025-03-13 21:40:52 +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.