2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-26 04:17:29 +00:00
restic/cmd
Michael Eischer e638b46a13 Embed context into ReaderAt
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.
2020-10-09 22:39:07 +02:00
..
restic Embed context into ReaderAt 2020-10-09 22:39:07 +02:00