---------------------------------------------------------------------
| 439 | } |
| 440 | //--------------------------------------------------------------------- |
| 441 | void FileSystemArchive::remove(const String& filename) |
| 442 | { |
| 443 | if (isReadOnly()) |
| 444 | { |
| 445 | OGRE_EXCEPT(Exception::ERR_INVALIDPARAMS, "Cannot remove a file from a read-only archive"); |
| 446 | } |
| 447 | String full_path = concatenate_path(mName, filename); |
| 448 | #ifdef _OGRE_FILESYSTEM_ARCHIVE_UNICODE |
| 449 | ::_wremove(to_wpath(full_path).c_str()); |
| 450 | #else |
| 451 | ::remove(full_path.c_str()); |
| 452 | #endif |
| 453 | } |
| 454 | //----------------------------------------------------------------------- |
| 455 | StringVectorPtr FileSystemArchive::list(bool recursive, bool dirs) const |
| 456 | { |
nothing calls this directly
no test coverage detected