1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Add symlink API to the DirAccess (on macOS and Linux).

This commit is contained in:
bruvzg
2021-03-10 10:29:43 +02:00
parent 2660fafcc0
commit 6aa8f7d85b
7 changed files with 73 additions and 7 deletions

View File

@@ -79,6 +79,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;