MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / WriteFileContent

Method WriteFileContent

Source/Client/NM_Engine/DirFunctions.cpp:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void CDirFunctions::WriteFileContent(const std::string & szFileName, const std::string & szText)
41{
42 std::ofstream f(szFileName.c_str(), std::ofstream::out | std::ofstream::app);
43 f << szText.c_str() << std::endl;
44 f.close();
45}
46
47bool CDirFunctions::ManageFsRedirection(bool bDisable, PVOID pCookie, PVOID * ppCookie)
48{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected