MCPcopy Create free account
hub / github.com/DBraun/DawDreamer / loadFileAsString

Method loadFileAsString

JuceLibraryCode/modules/juce_core/files/juce_File.cpp:548–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548String File::loadFileAsString() const
549{
550 if (! existsAsFile())
551 return {};
552
553 FileInputStream in (*this);
554 return in.openedOk() ? in.readEntireStreamAsString()
555 : String();
556}
557
558void File::readLines (StringArray& destLines) const
559{

Callers 7

runTestMethod · 0.80
parseMethod · 0.80
getCodeCacheDirectoryFunction · 0.80
LocalisedStringsMethod · 0.80

Calls 3

StringFunction · 0.50
openedOkMethod · 0.45

Tested by

no test coverage detected