mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 06:30:28 +03:00
std.file: Document that write/append create the file if it doesn't exist.
This commit is contained in:
parent
8beeb891d4
commit
5a2da77fbc
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue