MCPcopy Create free account
hub / github.com/JayXon/Leanify / SaveFile

Method SaveFile

lib/tinyxml2/tinyxml2.cpp:1866–1876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1864
1865
1866XMLError XMLDocument::SaveFile( const char* filename, bool compact )
1867{
1868 FILE* fp = callfopen( filename, "w" );
1869 if ( !fp ) {
1870 SetError( XML_ERROR_FILE_COULD_NOT_BE_OPENED, filename, 0 );
1871 return _errorID;
1872 }
1873 SaveFile(fp, compact);
1874 fclose( fp );
1875 return _errorID;
1876}
1877
1878
1879XMLError XMLDocument::SaveFile( FILE* fp, bool compact )

Callers

nothing calls this directly

Calls 1

callfopenFunction · 0.85

Tested by

no test coverage detected