What is the rationale behind std.file.setAttributes ?

Martin Nowak code at dawg.eu
Fri Dec 27 18:50:45 PST 2013


On 12/27/2013 12:12 PM, Marco Leise wrote:
> This is a case of the proverbial thin wrapper around a system
> function, as public API of Phobos. Amongst the large set of
> operating system abstractions, this one is somewhat deceiving,
> because it looks the same on each platform, but the parameter
> has a different meaning on each system.

Yep, totally ugly but it's the counterpart to
http://dlang.org/phobos/std_file.html#.getAttributes.
So if I save these attributes in a std.zip archive I was missing the 
possibility to restore them.


More information about the Digitalmars-d mailing list