(err)
| 12 | fs.writeFileSync(srcPath, 'hello world'); |
| 13 | |
| 14 | function callback(err) { |
| 15 | assert.ifError(err); |
| 16 | const dstContent = fs.readFileSync(dstPath, 'utf8'); |
| 17 | assert.strictEqual(dstContent, 'hello world'); |
| 18 | } |
| 19 | |
| 20 | fs.link(srcPath, dstPath, common.mustCall(callback)); |
| 21 |
searching dependent graphs…