MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / parseRequestUrl

Function parseRequestUrl

src/api/httpTypes.ts:28–32  ·  view source on GitHub ↗
(
	req: Pick<HTTPRequestLike, "url">
)

Source from the content-addressed store, hash-verified

26}
27
28export function parseRequestUrl(
29 req: Pick<HTTPRequestLike, "url">
30): URL {
31 return new URL(req.url ?? "", "http://localhost");
32}

Callers 7

handleRequestMethod · 0.90
getPomodoroSessionsMethod · 0.90
getPomodoroStatsMethod · 0.90
getTasksMethod · 0.90
routeMethod · 0.90
getEventsMethod · 0.90
getTimeSummaryMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected