MCPcopy Create free account
hub / github.com/docling-project/docling-parse / parse_input

Method parse_input

src/parse/parser.h:175–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173 }
174
175 bool parser::parse_input(std::string filename)
176 {
177 std::ifstream ifs(filename);
178
179 if(ifs)
180 {
181 ifs >> input_file;
182
183 LOG_S(INFO) << "input-filename: " << filename;
184 LOG_S(INFO) << "input: " << input_file.dump(2);
185 }
186 else
187 {
188 LOG_S(ERROR) << "input-filename: " << filename << " does not exists";
189 return false;
190 }
191
192 return true;
193 }
194
195 bool parser::initialise(nlohmann::json& data)
196 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected