mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-29 19:37:00 -05:00
Rework config, centralize fuse config (#1547)
This commit is contained in:
parent
00e5467e99
commit
727c522fb8
46 changed files with 1294 additions and 1316 deletions
21
libfuse/lib/fuse_cfg.cpp
Normal file
21
libfuse/lib/fuse_cfg.cpp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#include "fuse_cfg.hpp"
|
||||
|
||||
fuse_cfg_t fuse_cfg;
|
||||
|
||||
bool
|
||||
fuse_cfg_t::valid_uid() const
|
||||
{
|
||||
return (uid != FUSE_CFG_INVALID_ID);
|
||||
}
|
||||
|
||||
bool
|
||||
fuse_cfg_t::valid_gid() const
|
||||
{
|
||||
return (gid != FUSE_CFG_INVALID_ID);
|
||||
}
|
||||
|
||||
bool
|
||||
fuse_cfg_t::valid_umask() const
|
||||
{
|
||||
return (umask != FUSE_CFG_INVALID_UMASK);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue