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

Method edit

source/github-helpers/search-query.ts:116–119  ·  view source on GitHub ↗
(callback: (queryParts: string[]) => string[])

Source from the content-addressed store, hash-verified

114 }
115
116 edit(callback: (queryParts: string[]) => string[]): this {
117 this.queryParts = callback(this.getQueryParts());
118 return this;
119 }
120
121 replace(searchValue: string | RegExp, replaceValue: string): this {
122 this.set(this.get().replace(searchValue, replaceValue));

Callers 1

Calls 1

getQueryPartsMethod · 0.95

Tested by

no test coverage detected