| 494 | { |
| 495 | |
| 496 | inline Watcher::Event::Event (EventType t, FileType ft, std::filesystem::path f) |
| 497 | : eventType (t), fileType (ft), file (std::move (f)), |
| 498 | time (std::chrono::system_clock::now()) |
| 499 | { |
| 500 | } |
| 501 | |
| 502 | inline Watcher::Watcher (std::filesystem::path t, std::function<void(const Event&)> c, uint32_t rate) |
| 503 | : target (std::move (t)), callback (std::move (c)), millisecondsBetweenChecks (rate) |
nothing calls this directly
no outgoing calls
no test coverage detected