MCPcopy Create free account
hub / github.com/nodejs/node / writeFiles

Function writeFiles

test/parallel/test-fs-watch-ignore-mixed.js:43–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}, 1));
42
43function writeFiles() {
44 fs.writeFileSync(ignoredLogPath, 'ignored');
45 fs.writeFileSync(ignoredTmpPath, 'ignored');
46 fs.writeFileSync(ignoredHiddenPath, 'ignored');
47 fs.writeFileSync(testFilePath, 'content');
48}
49
50if (common.isMacOS) {
51 // Do the write with a delay to ensure that the OS is ready to notify us. See

Callers 1

Calls 1

writeFileSyncMethod · 0.45

Tested by

no test coverage detected