1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +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

@@ -74,6 +74,10 @@ public:
virtual Error rename(String p_from, String p_to);
virtual Error remove(String p_name);
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;
uint64_t get_space_left();