mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 12:12:10 +01:00
GFile: Document that G_FILE_CREATE_REPLACE_DESTINATION can only be used with g_file_replace() and variants
Passing it to e.g. g_file_create() for an already existing file will still cause a "file exists" error.
This commit is contained in:
parent
5ba5f5b686
commit
63809867bd
@ -199,7 +199,9 @@ typedef enum {
|
|||||||
* rather than a "save new version of" replace operation.
|
* rather than a "save new version of" replace operation.
|
||||||
* You can think of it as "unlink destination" before
|
* You can think of it as "unlink destination" before
|
||||||
* writing to it, although the implementation may not
|
* writing to it, although the implementation may not
|
||||||
* be exactly like that. Since 2.20
|
* be exactly like that. This flag can only be used with
|
||||||
|
* g_file_replace() and its variants, including g_file_replace_contents().
|
||||||
|
* Since 2.20
|
||||||
*
|
*
|
||||||
* Flags used when an operation may create a file.
|
* Flags used when an operation may create a file.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user