MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / TemporaryFile

Method TemporaryFile

JUCE/modules/juce_core/files/juce_TemporaryFile.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35TemporaryFile::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
43TemporaryFile::TemporaryFile (const File& target, const int optionFlags)
44 : temporaryFile (createTempFile (target.getParentDirectory(),

Callers

nothing calls this directly

Calls 7

createTempFileFunction · 0.85
toHexStringFunction · 0.85
FileClass · 0.85
nextIntMethod · 0.80
getParentDirectoryMethod · 0.45
getFileExtensionMethod · 0.45

Tested by

no test coverage detected