mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Add readdir policies
This commit is contained in:
parent
d817fa4e97
commit
c92a10021e
22 changed files with 1077 additions and 172 deletions
|
|
@ -208,6 +208,19 @@ namespace fs
|
|||
return g_func(fusepath_,fusepath_len_,mode_,dev_,ino_);
|
||||
}
|
||||
|
||||
uint64_t
|
||||
calc(std::string const &fusepath_,
|
||||
const mode_t mode_,
|
||||
const dev_t dev_,
|
||||
const ino_t ino_)
|
||||
{
|
||||
return calc(fusepath_.c_str(),
|
||||
fusepath_.size(),
|
||||
mode_,
|
||||
dev_,
|
||||
ino_);
|
||||
}
|
||||
|
||||
void
|
||||
calc(const char *fusepath_,
|
||||
const uint64_t fusepath_len_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue