We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
kMaxLength
1 parent 353e26e commit 717ad44Copy full SHA for 717ad44
1 file changed
lib/fs.js
@@ -19,7 +19,7 @@ const Readable = Stream.Readable;
19
const Writable = Stream.Writable;
20
21
const kMinPoolSpace = 128;
22
-const kMaxLength = require('internal/smalloc').kMaxLength;
+const kMaxLength = process.binding('smalloc').kMaxLength;
23
24
const O_APPEND = constants.O_APPEND || 0;
25
const O_CREAT = constants.O_CREAT || 0;
0 commit comments