MCPcopy Create free account
hub / github.com/Effect-TS/effect / fullPath

Function fullPath

packages/effect/src/http-api/HttpApiClient.ts:429–432  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

427
428 const baseUrl = options?.baseUrl?.toString()
429 const fullPath = (path: string) =>
430 baseUrl === undefined
431 ? path
432 : internalUrlParams.toPath(HttpClientRequest.prependUrl(HttpClientRequest.get(path), baseUrl).url)
433 const httpClient = options.httpClient.pipe(
434 baseUrl === undefined
435 ? identity

Callers 1

onEndpointFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected