MCPcopy Create free account
hub / github.com/massCodeIO/massCode / stripQueryFromUrl

Function stripQueryFromUrl

src/renderer/composables/spaces/http/urlQuery.ts:62–65  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

60}
61
62export function stripQueryFromUrl(url: string): string {
63 const parts = splitUrl(url)
64 return combineUrl({ ...parts, query: '' })
65}
66
67export function getPersistedUrl(
68 url: string,

Callers 2

urlQuery.test.tsFile · 0.90
getPersistedUrlFunction · 0.85

Calls 2

combineUrlFunction · 0.85
splitUrlFunction · 0.70

Tested by

no test coverage detected