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
No known key found for this signature in database
GPG key ID: 009E1BFE42239B95
7 changed files with 73 additions and 7 deletions

View file

@ -77,6 +77,10 @@ public:
virtual Error rename(String p_path, String p_new_path);
virtual Error remove(String p_path);
virtual bool is_link(String p_file);
virtual String read_link(String p_file);
virtual Error create_link(String p_source, String p_target);
virtual uint64_t get_space_left();
virtual String get_filesystem_type() const;