| 145 | ~StubFileSystem() override = default; |
| 146 | |
| 147 | void setRootPath(const fl::string& path) FL_NOEXCEPT { |
| 148 | mRootPath = path; |
| 149 | // Ensure the path ends with a directory separator |
| 150 | if (!mRootPath.empty() && mRootPath.back() != '/' && mRootPath.back() != '\\') { |
| 151 | mRootPath.append("/"); |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | // Static test utility functions for file/directory management |
| 156 | // These are only available on the stub/test platform |