Uh oh!
There was an error while loading. Please reload this page.
fs: add statfs to fs - #31351
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
addaleax
left a comment
There was a problem hiding this comment.
Thanks, nice work!
This looks good with the spare field(s) removed.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bnoordhuis
left a comment
There was a problem hiding this comment.
Thanks, LGTM but as mentioned, all references to the spare fields can be dropped.
Uh oh!
There was an error while loading. Please reload this page.
cjihrig
left a comment
There was a problem hiding this comment.
LGTM with all of the spares removed.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
@SheikhSajid I only meant to alphabetize the documentation headers/entries, not the order of properties in the object output in the console. Sorry that I wasn't clear about that! In other words: ### fooshould appear after: ### barbut this is OK, and should be retained if it's what the order of the actual output will be: ```console{ foo: 'first', bar: 'second'}``` |
SheikhSajid
commented
Jan 17, 2020
Fixed |
nodejs-github-bot
commented
Jan 17, 2020
Trott
left a comment
There was a problem hiding this comment.
I'm sorry to report that the test for this new feature fails on Windows in our CI:
13:24:34 not ok 190 parallel/test-fs-statfs13:24:34 ---13:24:34 duration_ms: 0.19813:24:34 severity: fail13:24:34 exitcode: 113:24:34 stack: |-13:24:34 internal/fs/utils.js:25913:24:34 throw err;13:24:34 ^13:24:34 13:24:34 Error: ENOENT: no such file or directory, statfs 'C:\workspace\node-test-binary-windows-js-suites\node\test\parallel\test-fs-statfs.js'13:24:34 at Object.statfsSync (fs.js:976:3)13:24:34 at Object.<anonymous> (C:\workspace\node-test-binary-windows-js-suites\node\test\parallel\test-fs-statfs.js:39:24)13:24:34 at Module._compile (internal/modules/cjs/loader.js:1208:30)13:24:34 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1228:10)13:24:34 at Module.load (internal/modules/cjs/loader.js:1057:32)13:24:34 at Function.Module._load (internal/modules/cjs/loader.js:952:14)13:24:34 at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)13:24:34 at internal/main/run_main_module.js:17:47 {13:24:34 errno: -4058,13:24:34 syscall: 'statfs',13:24:34 code: 'ENOENT',13:24:34 path: 'C:\\workspace\\node-test-binary-windows-js-suites\\node\\test\\parallel\\test-fs-statfs.js'13:24:34 }13:24:34 ...BridgeAR
commented
Jan 20, 2020
Ping @SheikhSajid |
Seems like a libuv issue on Windows. I compiled libuv on Windows and uv_fs_statfs is returning errors whenever a path to a file is passed to it. Folders work fine. |
SheikhSajid
commented
Jan 22, 2020
I will try to look into why this is happening. |
Add support for statfs system call to the fs module using uv_fs_statfs() function from libuv. Refs: nodejs#10745
8ae28ff to
2935f72Comparejasnell
commented
Jun 25, 2020
@SheikhSajid ... looks like this has stalled out and needs a rebase. Do you intend on moving this forward? |
This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open. |
Closing this because it has stalled. Feel free to reopen if this PR is still relevant, or to ping the collaborator who labelled it stalled if you have any questions. |
cybershape
commented
Mar 22, 2021
it looks like everything is ready, should anyone make this happen will be super. |
Add support for statfs system call to the fs module using
uv_fs_statfs() function from libuv.
Refs: #10745
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes