setAttributes
fn
void setAttributes(R)(R name, uint attributes) if (isSomeFiniteCharInputRange!R && !isConvertibleToString!R)Set the _attributes of the given file.
For example, a programmatic equivalent of Unix's chmod +x name to make a file executable is name.setAttributes(name.getAttributes | octal!700).
Parameters
name | the file _name |
attributes | the _attributes to set the file to |
Throws
FileException if the given file does not exist.