* Deletes the managed file. */
| 93 | * Deletes the managed file. |
| 94 | */ |
| 95 | void remove() |
| 96 | { |
| 97 | if (mStream.is_open()) |
| 98 | { |
| 99 | close(); |
| 100 | } |
| 101 | std::filesystem::remove(mPath); |
| 102 | } |
| 103 | |
| 104 | /** |
| 105 | * Calculates amount of remaining data in the file. |
no test coverage detected