summaryrefslogtreecommitdiff
path: root/drivers/windows
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-03-10 12:55:31 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2021-05-22 17:33:34 +0300
commit139a9d637084f928c3ed43ac6aad2178748ed8e4 (patch)
tree5df39ebfdb65a72d60e77501d71c6370d493e78f /drivers/windows
parent78861fde0b383e5fe361e73a451bf58ef117c20f (diff)
Add symlink API to the DirAccess (on macOS and Linux).
Diffstat (limited to 'drivers/windows')
-rw-r--r--drivers/windows/dir_access_windows.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/windows/dir_access_windows.h b/drivers/windows/dir_access_windows.h
index 553d5c4701..b7acb5a45a 100644
--- a/drivers/windows/dir_access_windows.h
+++ b/drivers/windows/dir_access_windows.h
@@ -78,6 +78,11 @@ public:
virtual Error rename(String p_path, String p_new_path);
virtual Error remove(String p_path);
+ virtual bool is_link(String p_file) { return false; };
+ virtual String read_link(String p_file) { return p_file; };
+ virtual Error create_link(String p_source, String p_target) { return FAILED; };
+
+ //virtual FileType get_file_type() const;
uint64_t get_space_left();
virtual String get_filesystem_type() const;