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

Method getNonexistentSibling

JUCE/modules/juce_core/files/juce_File.cpp:655–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653}
654
655File File::getNonexistentSibling (const bool putNumbersInBrackets) const
656{
657 if (! exists())
658 return *this;
659
660 return getParentDirectory().getNonexistentChildFile (getFileNameWithoutExtension(),
661 getFileExtension(),
662 putNumbersInBrackets);
663}
664
665//==============================================================================
666String File::getFileExtension() const

Callers 8

runTestMethod · 0.80
ScopedDownloadFolderMethod · 0.80
installMethod · 0.80
PIPGeneratorMethod · 0.80

Calls 1

Tested by

no test coverage detected