mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-29 03:48:23 +08:00
policy_cache.hpp
This commit is contained in:
parent
cd9b5a6846
commit
f41dc73863
|
@ -66,8 +66,10 @@ public:
|
|||
nonstd::optional<std::string>
|
||||
find(std::string const &key_)
|
||||
{
|
||||
uint64_t hash;
|
||||
nonstd::optional<std::string> rv;
|
||||
|
||||
hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp);
|
||||
_cache.cvisit(key_,
|
||||
[&](Map::value_type const &v_)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user