std.file: Document that write/append create the file if it doesn't exist.

This commit is contained in:
Nick Sabalausky 2017-02-20 13:51:27 -05:00
parent 8beeb891d4
commit 5a2da77fbc

View file

@ -454,6 +454,8 @@ if (isConvertibleToString!R)
/*********************************************
Write $(D buffer) to file $(D name).
Creates the file if it does not already exist.
Params:
name = string or range of characters representing the file _name
buffer = data to be written to file
@ -500,6 +502,8 @@ if (isConvertibleToString!R)
/*********************************************
Appends $(D buffer) to file $(D name).
Creates the file if it does not already exist.
Params:
name = string or range of characters representing the file _name
buffer = data to be appended to file