MCPcopy
hub / github.com/bubkoo/html-to-image / fetchFile

Function fetchFile

test/spec/helper.ts:65–69  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

63}
64
65async function fetchFile(fileName: string) {
66 const url = BASE_URL + fileName
67 const res = await fetch(url)
68 return res.text()
69}
70
71function makeImage(src: string) {
72 // console.log(src)

Callers 2

setupFunction · 0.85
bootstrapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…