MCPcopy
hub / github.com/refined-github/refined-github / remove

Method remove

source/github-helpers/search-query.ts:126–129  ·  view source on GitHub ↗
(...queryPartsToRemove: string[])

Source from the content-addressed store, hash-verified

124 }
125
126 remove(...queryPartsToRemove: string[]): this {
127 this.queryParts = this.getQueryParts().filter(queryPart => !queryPartsToRemove.includes(queryPart));
128 return this;
129 }
130
131 append(...queryPartsToAdd: string[]): this {
132 this.queryParts.push(...queryPartsToAdd);

Callers 15

closeTabFunction · 0.80
generateDomFunction · 0.80
registerHotkeyFunction · 0.80
finalUpdateToastFunction · 0.80
showOverlayFunction · 0.80
setStatusFilterFunction · 0.80
abortableClassNameFunction · 0.80
createMessageBoxFunction · 0.80
observeFunction · 0.80
unhighlightTabFunction · 0.80

Calls 2

getQueryPartsMethod · 0.95
includesMethod · 0.80

Tested by

no test coverage detected