MCPcopy Create free account
hub / github.com/apple/foundationdb / writeFile

Function writeFile

flow/Platform.actor.cpp:2999–3001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2997}
2998
2999void writeFile(std::string const& filename, std::string const& content) {
3000 writeFileBytes(filename, (const uint8_t*)(content.c_str()), content.size());
3001}
3002
3003namespace platform {
3004

Callers 7

setupAndRunFunction · 0.85
writeLogFileMethod · 0.85
writeTaggedLogFileMethod · 0.85
writeRangeFileMethod · 0.85
writeFileMethod · 0.85

Calls 3

writeFileBytesFunction · 0.85
c_strMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected