()
| 104 | } |
| 105 | |
| 106 | function ftruncate() { |
| 107 | const fs = require('fs'); |
| 108 | fs.writeFileSync('fs10.txt', '123', 'utf8'); |
| 109 | const fd = fs.openSync('fs10.txt', 'r+'); |
| 110 | fs.ftruncate(fd, 1, () => { |
| 111 | fs.unlinkSync('fs10.txt'); |
| 112 | }); |
| 113 | } |
| 114 | |
| 115 | function futime() { |
| 116 | const fs = require('fs'); |
nothing calls this directly
no test coverage detected
searching dependent graphs…