diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-03-10 12:55:31 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-05-22 17:33:34 +0300 |
commit | 139a9d637084f928c3ed43ac6aad2178748ed8e4 (patch) | |
tree | 5df39ebfdb65a72d60e77501d71c6370d493e78f /core/io/file_access_pack.h | |
parent | 78861fde0b383e5fe361e73a451bf58ef117c20f (diff) | |
download | redot-engine-139a9d637084f928c3ed43ac6aad2178748ed8e4.tar.gz |
Add symlink API to the DirAccess (on macOS and Linux).
Diffstat (limited to 'core/io/file_access_pack.h')
-rw-r--r-- | core/io/file_access_pack.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/io/file_access_pack.h b/core/io/file_access_pack.h index e47c9ea543..763c0fb327 100644 --- a/core/io/file_access_pack.h +++ b/core/io/file_access_pack.h @@ -245,6 +245,10 @@ public: uint64_t get_space_left(); + 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 String get_filesystem_type() const; DirAccessPack(); |