mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-12 08:36:25 -04:00
There has got to be a better way around this but if we're returning a Context from a function (Context is an interface, not a concrete type), even if we return nil, on the calling end it won't be equal to nil because an interface value is a tuple of the type and the value meaning it's never itself nil, unless both values in the tuple are nil. So we're explicitly returning whether or not the underlying concrete type is nil. |
||
|---|---|---|
| .. | ||
| app | ||
| commands | ||
| config | ||
| gui | ||
| i18n | ||
| tasks | ||
| test | ||
| theme | ||
| updates | ||
| utils | ||