Browse Source

policy_cache.hpp

getattr-cache
Antonio SJ Musumeci 9 months ago
parent
commit
6c13779bc7
  1. 12
      src/policy_cache.hpp

12
src/policy_cache.hpp

@ -27,11 +27,21 @@
class PolicyCache class PolicyCache
{ {
public:
typedef std::unordered_map<std::string,std::string> Map;
public: public:
PolicyCache(); PolicyCache();
public: public:
insert
nonstd::optional<std::string>
insert(std::string const &key_,
std::string &val_)
{
}
void erase(const char *fusepath); void erase(const char *fusepath);
void cleanup(const int prob = 1); void cleanup(const int prob = 1);
void clear(void); void clear(void);

Loading…
Cancel
Save