diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-23 17:39:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 17:39:23 +0200 |
commit | 6098a7f1914f64c77d689f54d5432095911b744f (patch) | |
tree | bf07da3b3177f3d104ecb5a66a7dc24b207fb08a /core/io/file_access_compressed.cpp | |
parent | b0da7b66ce278179eedd0e21dae1d84ed3f4459d (diff) | |
parent | dd03dcbd5a1d4a23d4fb3aa41da0c91fe2c5eda5 (diff) |
Merge pull request #27781 from reduz/new_android_export
Android now (optionally) builds the template when exporting
Diffstat (limited to 'core/io/file_access_compressed.cpp')
-rw-r--r-- | core/io/file_access_compressed.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/io/file_access_compressed.cpp b/core/io/file_access_compressed.cpp index b268d5c710..6c4310a572 100644 --- a/core/io/file_access_compressed.cpp +++ b/core/io/file_access_compressed.cpp @@ -373,6 +373,19 @@ uint64_t FileAccessCompressed::_get_modified_time(const String &p_file) { return 0; } +uint32_t FileAccessCompressed::_get_unix_permissions(const String &p_file) { + if (f) + return f->_get_unix_permissions(p_file); + return 0; +} + +Error FileAccessCompressed::_set_unix_permissions(const String &p_file, uint32_t p_permissions) { + if (f) { + return f->_set_unix_permissions(p_file, p_permissions); + } + return FAILED; +} + FileAccessCompressed::FileAccessCompressed() : cmode(Compression::MODE_ZSTD), writing(false), |