www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8465] New: std.file cannot set file attributes


           Summary: std.file cannot set file attributes
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: chadjoan gmail.com

--- Comment #0 from Chad Joan <chadjoan gmail.com> 2012-07-29 14:31:30 PDT ---
The std.file module in phobos has a getAttributes function to get file
attributes, but not corresponding function to set them.

The enhancement request then, is to add a setAttributes function that offers a
cross-platform way of setting file attributes.  At the very least, this should
make it possible to read attributes from one file and make another file have
those attributes, and to do it all without low-level OS calls.

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 29 2012