| 24 | constexpr uint32_t kDebounceMs = 500; |
| 25 | |
| 26 | bool SameFileName(std::string_view lhs, std::string_view rhs) { |
| 27 | if (lhs.size() != rhs.size()) return false; |
| 28 | for (size_t i = 0; i < lhs.size(); ++i) { |
| 29 | if (std::tolower(static_cast<unsigned char>(lhs[i])) != |
| 30 | std::tolower(static_cast<unsigned char>(rhs[i]))) { |
| 31 | return false; |
| 32 | } |
| 33 | } |
| 34 | return true; |
| 35 | } |
| 36 | |
| 37 | bool ContainsConfigChange( |
| 38 | const std::vector<OSTPlatform::DirectoryWatch::Change>& changes, |
no test coverage detected