| 104 | } |
| 105 | |
| 106 | UserData *Key::settingsSelf() const { |
| 107 | if (const auto tag = std::get_if<Settings::Tag>(&_value)) { |
| 108 | return tag->self; |
| 109 | } |
| 110 | return nullptr; |
| 111 | } |
| 112 | |
| 113 | bool Key::isDownloads() const { |
| 114 | return v::is<Downloads::Tag>(_value); |
no outgoing calls
no test coverage detected