Boost C++ Libraries: Ticket #10078: Incomplete API with respect to file related dates (cration, modification, access) https://svn.boost.org/trac10/ticket/10078 <p> The following features are missing: </p> <ul><li>read file's creation date </li><li>read file's last access date </li><li>read file's creation date with a precision higher than seconds </li><li>read file's last access date with a precision higher than seconds </li><li>read file's last access date with a precision higher than seconds </li><li>allow to detect capabilities of the underlying filesystem (e.g. support for creation and last access date that are not supported by all systems, or finding out date precision supported by the current filesystem) </li></ul><p> Possible implementation notes: </p> <ul><li>How to get high precision file date on Linux </li></ul><p> <a class="ext-link" href="http://stackoverflow.com/questions/13382695/how-to-get-last-modification-time-of-a-file-with-epoch-time-format-precision-mi"><span class="icon">​</span>http://stackoverflow.com/questions/13382695/how-to-get-last-modification-time-of-a-file-with-epoch-time-format-precision-mi</a> </p> <ul><li>How to get high precision file date on Windows </li></ul><p> <a class="ext-link" href="http://msdn.microsoft.com/en-us/library/aa364946.aspx"><span class="icon">​</span>http://msdn.microsoft.com/en-us/library/aa364946.aspx</a> </p> <p> Example of current use of this feature in existing applications: </p> <p> ls --full-time </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10078 Trac 1.4.3 Beman Dawes Thu, 29 May 2014 12:09:25 GMT status changed https://svn.boost.org/trac10/ticket/10078#comment:1 https://svn.boost.org/trac10/ticket/10078#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Beman Dawes Thu, 29 May 2014 12:27:29 GMT <link>https://svn.boost.org/trac10/ticket/10078#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10078#comment:2</guid> <description> <p> The "precision higher than seconds" issues are fixed in the File System TS. The time type is now chrono::time_point. This change will be reflected in the Boost implementation sometime this summer as part of a general upgrade to meet the TS specs. </p> <p> See <a class="ext-link" href="http://cplusplus.github.io/filesystem-ts/working-draft.html"><span class="icon">​</span>http://cplusplus.github.io/filesystem-ts/working-draft.html</a> </p> <p> The creation and last access requests have been on the "do-list" for years, but keep getting pushed aside by more pressing needs. The design issue that needs a solution is what to do on systems that don't support the functionality. A simple solution is needed; anything elaborate will not fly. </p> <p> If you would like to submit the specifications, or better yet a complete pull request, that would move this issue forward. You can email me: bdawes at acm dot org. </p> <p> Thanks, </p> <p> --Beman </p> </description> <category>Ticket</category> </item> </channel> </rss>