summaryrefslogtreecommitdiff
path: root/drivers/unix/dir_access_unix.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-02-19 20:50:58 +0100
committerGitHub <noreply@github.com>2018-02-19 20:50:58 +0100
commit2b7037b14801b9f15cda5e8462bd53e93499575d (patch)
treeda91544fd4f918734c2dd56edac8920694e3eec6 /drivers/unix/dir_access_unix.cpp
parent3925e6a5431424f422273f3522016a9d6a51a876 (diff)
parent268d7c7c5b4249c0281cbb7f7fc8a66b2ebdc969 (diff)
Merge pull request #16675 from Iskustvo/improved_error_detectioin_in_move-to-trash_for_Linux
[X11] Improving error detection in move_to_trash
Diffstat (limited to 'drivers/unix/dir_access_unix.cpp')
-rw-r--r--drivers/unix/dir_access_unix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/unix/dir_access_unix.cpp b/drivers/unix/dir_access_unix.cpp
index 4a467293fd..3944431516 100644
--- a/drivers/unix/dir_access_unix.cpp
+++ b/drivers/unix/dir_access_unix.cpp
@@ -361,6 +361,7 @@ Error DirAccessUnix::rename(String p_path, String p_new_path) {
return ::rename(p_path.utf8().get_data(), p_new_path.utf8().get_data()) == 0 ? OK : FAILED;
}
+
Error DirAccessUnix::remove(String p_path) {
if (p_path.is_rel_path())