summaryrefslogtreecommitdiff
path: root/core/os/dir_access.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/dir_access.h')
-rw-r--r--core/os/dir_access.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/dir_access.h b/core/os/dir_access.h
index c49c4cc4b8..7f0bcd372d 100644
--- a/core/os/dir_access.h
+++ b/core/os/dir_access.h
@@ -84,6 +84,8 @@ public:
virtual bool file_exists(String p_file) = 0;
virtual bool dir_exists(String p_dir) = 0;
+ virtual bool is_readable(String p_dir) { return true; };
+ virtual bool is_writable(String p_dir) { return true; };
static bool exists(String p_dir);
virtual size_t get_space_left() = 0;