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

Function getDisplayUrl

src/renderer/composables/spaces/http/urlQuery.ts:58–60  ·  view source on GitHub ↗
(url: string, query: HttpUrlQueryItem[])

Source from the content-addressed store, hash-verified

56}
57
58export function getDisplayUrl(url: string, query: HttpUrlQueryItem[]): string {
59 return query.length > 0 ? applyQueryToUrl(url, query) : url
60}
61
62export function stripQueryFromUrl(url: string): string {
63 const parts = splitUrl(url)

Callers 2

toDraftFunction · 0.90
urlQuery.test.tsFile · 0.90

Calls 1

applyQueryToUrlFunction · 0.85

Tested by

no test coverage detected