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

Method href

source/github-helpers/search-query.ts:106–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 }
105
106 get href(): string {
107 this.url.searchParams.set('q', this.get() + ' ');
108 if (labelLinkRegex.test(this.url.pathname)) {
109 // Avoid a redirection to the conversation list that would drop the search query #5176
110 this.url.pathname = this.url.pathname.replace(/\/labels\/.+$/, '/issues');
111 }
112
113 return this.url.href;
114 }
115
116 edit(callback: (queryParts: string[]) => string[]): this {
117 this.queryParts = callback(this.getQueryParts());

Callers

nothing calls this directly

Calls 3

getMethod · 0.95
setMethod · 0.80
replaceMethod · 0.80

Tested by

no test coverage detected