summaryrefslogtreecommitdiff
path: root/internal/restic/node_linux.go
diff options
context:
space:
mode:
authorMichael Eischer <michael.eischer@fau.de>2020-10-06 15:59:00 +0200
committerMichael Eischer <michael.eischer@fau.de>2020-10-09 22:39:07 +0200
commite638b46a1303ace658a3f4dc6239dd5ddbb774b4 (patch)
treef6a481127f91b0e12f39e87800ec4ea0f2c5b4d9 /internal/restic/node_linux.go
parentd6cfe857b716022eec4fd80f859341ec977010c8 (diff)
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.
Diffstat (limited to 'internal/restic/node_linux.go')
0 files changed, 0 insertions, 0 deletions