mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-30 20:39:39 +02:00
6 lines
139 B
TypeScript
6 lines
139 B
TypeScript
function fileLeak(path: string): void {
|
|||
var fd = fs.openSync(path, 'r');
|
|||
var buf = Buffer.alloc(1024);
|
|||
fs.readSync(fd, buf);
|
|||
}
|