mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 23:46:26 -05:00
policy_cache.hpp
This commit is contained in:
parent
688803d97a
commit
19ee057525
1 changed files with 7 additions and 0 deletions
|
|
@ -93,6 +93,13 @@ public:
|
|||
return rv;
|
||||
}
|
||||
|
||||
void
|
||||
erase(std::string const &key_)
|
||||
{
|
||||
_cache.erase(key_);
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
unsigned _max_size;
|
||||
Map _cache;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue