[Issue 15803] New: std.file should support sub-second file time precision on POSIX

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Mar 16 11:19:05 PDT 2016


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 at puremagic.com
          Reporter: thecybershadow at 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.

--


More information about the Digitalmars-d-bugs mailing list