Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
62
export
function
stripQueryFromUrl(url: string): string {
63
const
parts = splitUrl(url)
64
return
combineUrl({ ...parts, query:
''
})
65
}
66
67
export
function
getPersistedUrl(
68
url: string,
Callers
2
urlQuery.test.ts
File · 0.90
getPersistedUrl
Function · 0.85
Calls
2
combineUrl
Function · 0.85
splitUrl
Function · 0.70
Tested by
no test coverage detected