| 72 | } |
| 73 | |
| 74 | std::string FileUtilsEmscripten::getNativeWritableAbsolutePath() const |
| 75 | { |
| 76 | struct stat st; |
| 77 | stat(_writablePath.c_str(), &st); |
| 78 | if (!S_ISDIR(st.st_mode)) |
| 79 | { |
| 80 | mkdir(_writablePath.c_str(), 0744); |
| 81 | } |
| 82 | |
| 83 | return _writablePath; |
| 84 | } |
| 85 | |
| 86 | bool FileUtilsEmscripten::isFileExistInternal(std::string_view path) const |
| 87 | { |
no test coverage detected