diff options
Diffstat (limited to 'libbutl/filesystem.mxx')
-rw-r--r-- | libbutl/filesystem.mxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbutl/filesystem.mxx b/libbutl/filesystem.mxx index 8d99fdc..fbfc0aa 100644 --- a/libbutl/filesystem.mxx +++ b/libbutl/filesystem.mxx @@ -268,15 +268,15 @@ LIBBUTL_MODEXPORT namespace butl // is true). Throw std::system_error on failures. // LIBBUTL_SYMEXPORT rmfile_status - rmsymlink (const path&, bool dir = false); + try_rmsymlink (const path&, bool dir = false, bool ignore_error = false); // Remove a symbolic link to a directory. Throw std::system_error on // failures. // inline rmfile_status - rmsymlink (const dir_path& link) + try_rmsymlink (const dir_path& link, bool ignore_error = false) { - return rmsymlink (link, true); + return try_rmsymlink (link, true, ignore_error); } // Create a hard link to a file (default) or directory (third argument is |