Title: Provide access to file system times with nanoseconds resolution · Issue #8276 · nodejs/node · GitHub
Open Graph Title: Provide access to file system times with nanoseconds resolution · Issue #8276 · nodejs/node
X Title: Provide access to file system times with nanoseconds resolution · Issue #8276 · nodejs/node
Description: Node.js should provide nanosecond time values in the fs.stat() response structure similar to how process.hrtime() does it. If there is a module or trick to provide ns I would be happy to use that Generally on Linux, human readable stat p...
Open Graph Description: Node.js should provide nanosecond time values in the fs.stat() response structure similar to how process.hrtime() does it. If there is a module or trick to provide ns I would be happy to use that G...
X Description: Node.js should provide nanosecond time values in the fs.stat() response structure similar to how process.hrtime() does it. If there is a module or trick to provide ns I would be happy to use that G...
Opengraph URL: https://github.com/nodejs/node/issues/8276
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provide access to file system times with nanoseconds resolution","articleBody":"Node.js should provide nanosecond time values in the fs.stat() response structure similar to how process.hrtime() does it.\n\nIf there is a module or trick to provide ns I would be happy to use that\n\nGenerally on Linux, human readable stat provides the nanoseconds, and epoch time provides the UTC second-level value. The combination is complete. Since Node.js uses ECMAScript Date objects, there is only millisecond resolution.\n- ext4 and Android has nanosecond time resolution since long time\n- Most Linux utilities still drop sub-seconds and Linux cannot display birth date easily\n- Some Android won't give you UTC allowing you to create lots of bugs calculating it\n\nHere's Linux human readable\n\n``` bash\nstat 0 --format %z\n2016-06-14 00:50:44.920739523 -0700\n```\n\n> uname --all && node --version\n> Linux c89 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\n> v6.4.0\n\nI have some utilities moving large data around that uses recursive md5 and metadata before-after to verify integrity\n","author":{"url":"https://github.com/haraldrudell","@type":"Person","name":"haraldrudell"},"datePublished":"2016-08-26T07:12:52Z","url":"https://github.com/nodejs/node/issues/8276"}
| 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:a2a4b7be-d6fe-1e8e-0ca0-cad5ed68aee7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7CC:3E0336:B85DC2:F0A194:6AED472B |
| html-safe-nonce | 9ccf2aad1aa029e87e888d27e54ecf57668637c147a44fee0c419e7aa44fa160 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0NDOjNFMDMzNjpCODVEQzI6RjBBMTk0OjZBRUQ0NzJCIiwidmlzaXRvcl9pZCI6IjgwMDE1NDYxNzE4NDg2NzMwNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f6f297d15d4904f648b40561d881e43d15c703850fc1c78008638a6954d2bbee |
| hovercard-subject-tag | issue:173384956 |
| 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/8276/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a510b03f0360e653ee59636a9049529da2086f5f9903596d33e81e3cf504bb24/nodejs/node/issues/8276 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a510b03f0360e653ee59636a9049529da2086f5f9903596d33e81e3cf504bb24/nodejs/node/issues/8276 |
| og:image:alt | Node.js should provide nanosecond time values in the fs.stat() response structure similar to how process.hrtime() does it. If there is a module or trick to provide ns I would be happy to use that G... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | haraldrudell |
| 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