MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / read_list_file

Function read_list_file

src/main.cpp:76–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76bool read_list_file(const std::filesystem::path& filename, std::vector<std::string>& entries_out) {
77 std::ifstream input_file{ filename };
78 if (!input_file.good()) {
79 return false;
80 }
81
82 std::string entry;
83
84 while (input_file >> entry) {
85 entries_out.emplace_back(std::move(entry));
86 }
87
88 return true;
89}
90
91bool compare_files(const std::filesystem::path& file1_path, const std::filesystem::path& file2_path) {
92 static std::vector<char> file1_buf(65536);

Callers 1

mainFunction · 0.85

Calls 1

goodMethod · 0.45

Tested by

no test coverage detected