MCPcopy Create free account
hub / github.com/Tencent/embedx / LoadConfig

Function LoadConfig

src/io/io_util.cc:105–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105bool LoadConfig(const std::string& file, uint16_t* max_ns_id,
106 id_name_t* id_name_map) {
107 if (file.empty()) {
108 return InitEmptyConfig(max_ns_id, id_name_map);
109 } else {
110 return LoadConfigFromFile(file, max_ns_id, id_name_map);
111 }
112}
113
114} // namespace io_util
115} // namespace embedx

Callers 4

InitMethod · 0.85
LoadConfigMethod · 0.85
InitMethod · 0.85
BuildMethod · 0.85

Calls 2

InitEmptyConfigFunction · 0.85
LoadConfigFromFileFunction · 0.85

Tested by

no test coverage detected