MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / unregister

Function unregister

static/quick-fixes-handler.ts:100–108  ·  view source on GitHub ↗
(compilerId: number)

Source from the content-addressed store, hash-verified

98}
99
100export function unregister(compilerId: number): void {
101 const item = _.find(registeredQuickFixes, (item: RegisteredQuickFixes): boolean => {
102 return item.compilerId === compilerId;
103 });
104
105 if (item) {
106 registeredQuickFixes = _.without(registeredQuickFixes, item);
107 }
108}
109
110export function registerProviderForLanguage(language: string): void {
111 if (!(language in providersPerLanguage)) {

Callers

nothing calls this directly

Calls 1

findMethod · 0.80

Tested by

no test coverage detected