| 33 | } |
| 34 | |
| 35 | TemporaryFile::TemporaryFile (const String& suffix, const int optionFlags) |
| 36 | : temporaryFile (createTempFile (File::getSpecialLocation (File::tempDirectory), |
| 37 | "temp_" + String::toHexString (Random::getSystemRandom().nextInt()), |
| 38 | suffix, optionFlags)), |
| 39 | targetFile() |
| 40 | { |
| 41 | } |
| 42 | |
| 43 | TemporaryFile::TemporaryFile (const File& target, const int optionFlags) |
| 44 | : temporaryFile (createTempFile (target.getParentDirectory(), |
nothing calls this directly
no test coverage detected