www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15803] New: std.file should support sub-second file time

https://issues.dlang.org/show_bug.cgi?id=15803

          Issue ID: 15803
           Summary: std.file should support sub-second file time precision
                    on POSIX
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: thecybershadow gmail.com

Modern POSIX-like operating systems and filesystems expose sub-second file time
resolution through various extensions. Currently, std.file does not utilize
them, only using the time_t values which offer precision with only second
granularity. Since SysTime (the format used by std.file for file times)
supports hectananosecond precision, std.file needs to detect the presence of
these extensions (as declared in Druntime), and provide seamless
interoperability through them to achieve full timestamp precision for files.

--
Mar 16 2016