MCPcopy Create free account
hub / github.com/IIIIQIIII/claude-code / isRedirectInfo

Function isRedirectInfo

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

Source from the content-addressed store, hash-verified

329}
330
331function isRedirectInfo(
332 response: AxiosResponse<ArrayBuffer> | RedirectInfo,
333): response is RedirectInfo {
334 return 'type' in response && response.type === 'redirect'
335}
336
337export type FetchedContent = {
338 content: string

Callers 1

getURLMarkdownContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected