mirror of
https://github.com/restic/restic.git
synced 2025-12-25 09:09:36 -05:00
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 | ||