MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / assertFileIsMapxFile

Function assertFileIsMapxFile

test/algorithm/XmlUtils.h:27–30  ·  view source on GitHub ↗

Very rough check to see if path points to a file that looks like an XML document

Source from the content-addressed store, hash-verified

25
26// Very rough check to see if path points to a file that looks like an XML document
27inline void assertFileIsMapxFile(const std::string& path)
28{
29 assertStringIsMapxFile(loadFileToString(path));
30}
31
32}
33

Callers 1

TEST_FFunction · 0.85

Calls 2

assertStringIsMapxFileFunction · 0.85
loadFileToStringFunction · 0.85

Tested by

no test coverage detected