(scopeId: string)
| 142 | } |
| 143 | |
| 144 | function clearContextCommandActions(scopeId: string) { |
| 145 | const actionIds = actionIdsByScopeId.get(scopeId) ?? [] |
| 146 | actionIds.forEach(actionId => { |
| 147 | actionRegistry.delete(actionId) |
| 148 | }) |
| 149 | actionIdsByScopeId.delete(scopeId) |
| 150 | } |
| 151 | |
| 152 | function resolveContextCommandAction(actionId: string) { |
| 153 | return actionRegistry.get(actionId) |
no test coverage detected