#ifndef CHANGE_SRC_TRACKING_CHANGE_TRACKER_H_ #define CHANGE_SRC_TRACKING_CHANGE_TRACKER_H_ #include #include #include "utility/logger.h" namespace tracking { class ChangeTracker { public: ChangeTracker(utility::Logger*); ~ChangeTracker(); bool is_tracked(const std::string&) const; bool track(const std::string&); private: utility::Logger* const logger_; std::unordered_map< std::string, std::unique_ptr > children_; }; } #endif // CHANGE_SRC_TRACKING_CHANGE_TRACKER_H_