Title: Expose internal statValues in a consumer friendly way. · Issue #19167 · nodejs/node · GitHub
Open Graph Title: Expose internal statValues in a consumer friendly way. · Issue #19167 · nodejs/node
X Title: Expose internal statValues in a consumer friendly way. · Issue #19167 · nodejs/node
Description: The fs.stat and fs.statSync methods have access to an internal statValues typed array which holds things like raw mtimeMs values. It would be nice to avoid creating an entire stats object for one-off things like mtimeMs and friends. Sinc...
Open Graph Description: The fs.stat and fs.statSync methods have access to an internal statValues typed array which holds things like raw mtimeMs values. It would be nice to avoid creating an entire stats object for one-o...
X Description: The fs.stat and fs.statSync methods have access to an internal statValues typed array which holds things like raw mtimeMs values. It would be nice to avoid creating an entire stats object for one-o...
Opengraph URL: https://github.com/nodejs/node/issues/19167
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Expose internal statValues in a consumer friendly way.","articleBody":"The `fs.stat` and `fs.statSync` methods have access to an internal `statValues` typed array which holds things like raw `mtimeMs` values. It would be nice to avoid creating an entire stats object for one-off things like `mtimeMs` and friends.\r\n\r\nSince Node is already tracking these values in a way that makes it easy to pluck them individually what do you all think about splitting each value out into their own method which then accesses the internal `statValues` array instead of creating a catch-all for all-values as the stat methods do today?\r\n\r\nRelated: This would also nicely side step [the perf issue](https://github.com/nodejs/node/pull/12818) associated with `stat` too.","author":{"url":"https://github.com/jdalton","@type":"Person","name":"jdalton"},"datePublished":"2018-03-06T09:46:57Z","url":"https://github.com/nodejs/node/issues/19167"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cb0f5b45-3850-eac0-3332-44d47551c0ba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB96:2463B8:C73FB0:1040B2A:6AED4AE2 |
| html-safe-nonce | 922bc12661b60d82f9a9abcfd55b98834474bdc1c1177ad00f09923005ba2b37 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjk2OjI0NjNCODpDNzNGQjA6MTA0MEIyQTo2QUVENEFFMiIsInZpc2l0b3JfaWQiOiIyNzMzMjM2NDUyMTczMTA1ODkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f24a714dd7c517de9d51204cb1c3a8a501bce800f2609ee1591a95b12da6cbf4 |
| hovercard-subject-tag | issue:302630128 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/19167/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cd8c9e12932ebab0bbcde813aecd0f76780e60f9f98c47b0d2398d83b5ad813c/nodejs/node/issues/19167 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cd8c9e12932ebab0bbcde813aecd0f76780e60f9f98c47b0d2398d83b5ad813c/nodejs/node/issues/19167 |
| og:image:alt | The fs.stat and fs.statSync methods have access to an internal statValues typed array which holds things like raw mtimeMs values. It would be nice to avoid creating an entire stats object for one-o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jdalton |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width