Thread overview
How do I set file attributes?
Jul 29, 2012
Chad J
Jul 29, 2012
Jonathan M Davis
Jul 29, 2012
Chad J
July 29, 2012
std.file seems to have a getAttributes function, but I see no corresponding setAttributes function.  What do I do if I want to copy the attributes from one file to another?
July 29, 2012
On Sunday, July 29, 2012 16:47:50 Chad J wrote:
> std.file seems to have a getAttributes function, but I see no corresponding setAttributes function.  What do I do if I want to copy the attributes from one file to another?

std.file does not provide that functionality. You'll need to use whatever C functions your OS provides to do that.

- Jonathan M Davis
July 29, 2012
On 07/29/2012 04:55 PM, Jonathan M Davis wrote:
> On Sunday, July 29, 2012 16:47:50 Chad J wrote:
>> std.file seems to have a getAttributes function, but I see no
>> corresponding setAttributes function.  What do I do if I want to copy
>> the attributes from one file to another?
>
> std.file does not provide that functionality. You'll need to use whatever C
> functions your OS provides to do that.
>
> - Jonathan M Davis

OK thanks.

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