-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs: expose Stats times as Numbers #13257
Conversation
assert.strictEqual(false, s.isSymbolicLink()); | ||
|
||
assert.ok(s.atime instanceof Date); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaced with loop assertion by type in https://github.com/nodejs/node/pull/13257/files/945a3daef53397d6d3ec97f56bcb4d24b71c6304#diff-3f8f036a4652d356be0e5108f2371fe1R97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New Line 99
945a3da
to
b6c9123
Compare
Added a test case. New CI:https://ci.nodejs.org/job/node-test-commit/10200/ |
This also reverts commit 9836cf5. Fixes: npm/npm#16734 Ref: nodejs#12607 Ref: nodejs#12818
b6c9123
to
d88342b
Compare
Superseded by #13256 |
Alternative to #13173
for aftr the revert of commit 9836cf5.
Depends on #13256
Expose Stats times as Numbers
also set Date cache fields in constructor
Fixes: #8276
Fixes: #13255
Ref: #12607
Ref: #12818
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
fs