diff options
Diffstat (limited to 'libbutl/filesystem.mxx')
-rw-r--r-- | libbutl/filesystem.mxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbutl/filesystem.mxx b/libbutl/filesystem.mxx index 8ffbce9..a87e57b 100644 --- a/libbutl/filesystem.mxx +++ b/libbutl/filesystem.mxx @@ -196,6 +196,10 @@ LIBBUTL_MODEXPORT namespace butl // enum class rmfile_status {success, not_exist}; + // Note that on Windows the read-only attribute is reset prior to the file + // removal (as it can't otherwise be deleted). In such a case the operation + // is not atomic. + // LIBBUTL_SYMEXPORT rmfile_status try_rmfile (const path&, bool ignore_error = false); |