MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / createFile

Function createFile

packages/database/src/database.ts:23–27  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

21}
22
23function createFile(data: any) {
24 console.log(`Writing certificate to ${certOut}`);
25 fs.writeFileSync(certOut, String(data));
26 isFileExist();
27}
28
29/**
30 * this function helps fargate tasks to download the cert instead of getting it from env-vars

Callers 2

downloadCertFunction · 0.85
createCertFileFunction · 0.85

Calls 2

isFileExistFunction · 0.85
logMethod · 0.65

Tested by

no test coverage detected