| 165 | // ---- make_dirs -------------------------------------------------------------- |
| 166 | |
| 167 | void make_dirs(const std::string& file_path) { |
| 168 | std::error_code ec; |
| 169 | fs::create_directories(fs::path(file_path), ec); |
| 170 | // Ignore errors (same behaviour as legacy code which silently skipped failures) |
| 171 | } |
| 172 | |
| 173 | // Legacy implementation kept for reference (powerpc / pre-NDK-r23 Android): |
| 174 | // |