mirror of
https://github.com/octoleo/restic.git
synced 2024-11-27 07:16:40 +00:00
985722b102
Previously the global context was either accessed via gopts.ctx, stored in a local variable and then used within that function or sometimes both. This makes it very hard to follow which ctx or a wrapped version of it reaches which method. Thus just drop the context from the globalOptions struct and pass it explicitly to every command line handler method. |
||
---|---|---|
.. | ||
restic |