| 392 | } |
| 393 | |
| 394 | int DB::update(QueryFile::DefUpdate &&u) { |
| 395 | int file_id = getFileId(u.first.path); |
| 396 | files[file_id].def = u.first; |
| 397 | return file_id; |
| 398 | } |
| 399 | |
| 400 | void DB::update(const Lid2file_id &lid2file_id, int file_id, std::vector<std::pair<Usr, QueryFunc::Def>> &&us) { |
| 401 | for (auto &u : us) { |
nothing calls this directly
no test coverage detected