MCPcopy Create free account
hub / github.com/pollinations/pollinations / write

Function write

tools/icons/src/cli.js:159–159  ·  view source on GitHub ↗
(file, buf)

Source from the content-addressed store, hash-verified

157 const outDir = join(REPO_ROOT, cfg.outDir);
158 await mkdir(outDir, { recursive: true });
159 const write = (file, buf) => writeFile(join(outDir, file), buf);
160
161 // Favicons: the lotus stands alone on transparent and tiny — bright mark.
162 for (const size of FAVICON_SIZES) {

Callers 1

generateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected