MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / Read

Method Read

opt_utils/src/json.cpp:756–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

754 }
755
756 bool FileReader::Read(Node &node)
757 {
758 if (!error.empty())
759 return false;
760
761 Parser parser(json);
762 if (!parser.Parse(node))
763 {
764 error = parser.GetError();
765 return false;
766 }
767 else
768 {
769 return true;
770 }
771 }
772
773 Node::Type FileReader::DetermineType()
774 {

Callers 1

ReadFileMethod · 0.80

Calls 1

ParseMethod · 0.80

Tested by

no test coverage detected