MCPcopy
hub / github.com/codeaashu/claude-code / isRedirectInfo

Function isRedirectInfo

src/tools/WebFetchTool/utils.ts:368–372  ·  view source on GitHub ↗
(
  response: AxiosResponse<ArrayBuffer> | RedirectInfo,
)

Source from the content-addressed store, hash-verified

366}
367
368function isRedirectInfo(
369 response: AxiosResponse<ArrayBuffer> | RedirectInfo,
370): response is RedirectInfo {
371 return 'type' in response && response.type === 'redirect'
372}
373
374export type FetchedContent = {
375 content: string

Callers 1

getURLMarkdownContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected