Skip to content

Commit

Permalink
removing individual-file conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
AsherGlick committed Jan 18, 2025
1 parent 9c077c2 commit d5532d1
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions xml_converter/src/xml_converter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,6 @@ map<string, vector<string>> read_taco_directory(
}
}
}
else if (filesystem::is_regular_file(input_path)) {
set<string> top_level_category_names = parse_xml_file(input_path, get_base_dir(input_path), marker_categories, parsed_pois);
string filename = filesystem::path(input_path).filename();
for (set<string>::iterator it = top_level_category_names.begin(); it != top_level_category_names.end(); it++) {
top_level_category_file_locations[*it].push_back(filename);
}
}
return top_level_category_file_locations;
}

Expand All @@ -111,13 +104,6 @@ map<string, vector<string>> read_burrito_directory(
}
}
}
else if (filesystem::is_regular_file(input_path)) {
set<string> top_level_category_names = read_protobuf_file(input_path, get_base_dir(input_path), marker_categories, parsed_pois);
string filename = filesystem::path(input_path).filename();
for (set<string>::iterator it = top_level_category_names.begin(); it != top_level_category_names.end(); it++) {
top_level_category_file_locations[*it].push_back(filename);
}
}
return top_level_category_file_locations;
}

Expand Down

0 comments on commit d5532d1

Please sign in to comment.