MCPcopy Create free account
hub / github.com/axmolengine/axmol / writeStringToFile

Method writeStringToFile

core/platform/FileUtils.cpp:486–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484FileUtils::~FileUtils() {}
485
486bool FileUtils::writeStringToFile(std::string_view dataStr, std::string_view fullPath) const
487{
488 return FileUtils::writeBinaryToFile(dataStr.data(), dataStr.size(), fullPath);
489}
490#ifndef AX_CORE_PROFILE
491void FileUtils::writeStringToFile(std::string dataStr,
492 std::string_view fullPath,

Callers 5

flushMethod · 0.80
FileUtilsTests.cppFile · 0.80
flushMethod · 0.80
saveToFileMethod · 0.80
saveAsMethod · 0.80

Calls 4

getInstanceFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected