MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / writeFile

Function writeFile

js/botasaurus-js/src/utils.ts:35–37  ·  view source on GitHub ↗
(data: string, p: string)

Source from the content-addressed store, hash-verified

33}
34
35function writeFile(data: string, p: string): void {
36 fs.writeFileSync(p, data, { encoding: "utf-8" });
37}
38
39function readJson(p: string): any {
40 const data = fs.readFileSync(p, { encoding: "utf-8" });

Callers 4

writeTempFileFunction · 0.90
saveErrorLogsFunction · 0.90
output.jsFile · 0.50
index.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected