* Scan, but only if it's needed. * @param rescan whether to force scanning even when it's not necessary */
| 613 | * @param rescan whether to force scanning even when it's not necessary |
| 614 | */ |
| 615 | void Scan(bool rescan) |
| 616 | { |
| 617 | if (this->scanned && !rescan) return; |
| 618 | |
| 619 | this->FileScanner::Scan(".id", SCENARIO_DIR, true, true); |
| 620 | this->scanned = true; |
| 621 | } |
| 622 | |
| 623 | bool AddFile(const std::string &filename, size_t, const std::string &) override |
| 624 | { |
no outgoing calls
no test coverage detected