mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-05 06:10:10 -05:00
optimize link_cow eligibility check
This commit is contained in:
parent
90e422c113
commit
10f7f8bdea
2 changed files with 21 additions and 5 deletions
|
|
@ -25,7 +25,10 @@ namespace fs
|
|||
{
|
||||
namespace cow
|
||||
{
|
||||
bool is_eligible(const int flags_);
|
||||
bool is_eligible(const struct stat &st_);
|
||||
bool is_eligible(const int flags_, const struct stat &st_);
|
||||
|
||||
bool is_eligible(const char *fullpath_, const int flags_);
|
||||
|
||||
int break_link(const char *fullpath_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue