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

Function isFileExist

packages/database/src/database.ts:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}/rds-ca-2019-root.pem`;
18
19function isFileExist() {
20 if (!fs.existsSync(certOut)) throw 'pem not found';
21}
22
23function createFile(data: any) {
24 console.log(`Writing certificate to ${certOut}`);

Callers 1

createFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected