Commit 6ef562f7 authored by Maysam Rahmanpour's avatar Maysam Rahmanpour
Browse files

Added black_list header

parent 9a751554
Loading
Loading
Loading
Loading
Loading
+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