MCPcopy Create free account
hub / github.com/apache/fory / writeToFile

Function writeToFile

javascript/test/crossLanguage.test.ts:84–86  ·  view source on GitHub ↗
(buffer: Buffer)

Source from the content-addressed store, hash-verified

82 return;
83 }
84 function writeToFile(buffer: Buffer) {
85 fs.writeFileSync(dataFile!, buffer);
86 }
87 const content = fs.readFileSync(dataFile);
88
89 test("test_buffer", () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected