www.digitalmars.com         C & C++   DMDScript  

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

http://d.puremagic.com/issues/show_bug.cgi?id=8465

           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



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