Loading include/client/black_list.hpp 0 → 100644 +32 −0 Original line number Diff line number Diff line #ifndef BLACK_LIST_HPP #define BLACK_LIST_HPP #include <string> #include <vector> /** * @brief Add a path to the removed path set * * @param path The path of the file. * */ void add_bl_path(const std::string& path); /** * @brief Remove a path from the removed path set * * @param path The path of the file. * */ void remove_bl_path(const std::string& path); /** * @brief Check if the path exists in the removed path set * * @param path The path of the file. * @return true if the path exists, false if it doesn't. * */ bool check_bl_path(const std::string& path); #endif // BLACK_LIST_HPP No newline at end of file Loading
include/client/black_list.hpp 0 → 100644 +32 −0 Original line number Diff line number Diff line #ifndef BLACK_LIST_HPP #define BLACK_LIST_HPP #include <string> #include <vector> /** * @brief Add a path to the removed path set * * @param path The path of the file. * */ void add_bl_path(const std::string& path); /** * @brief Remove a path from the removed path set * * @param path The path of the file. * */ void remove_bl_path(const std::string& path); /** * @brief Check if the path exists in the removed path set * * @param path The path of the file. * @return true if the path exists, false if it doesn't. * */ bool check_bl_path(const std::string& path); #endif // BLACK_LIST_HPP No newline at end of file