diff --git a/src/mergerfs_api.cpp b/src/mergerfs_api.cpp index a669bfc5..98ef7c9e 100644 --- a/src/mergerfs_api.cpp +++ b/src/mergerfs_api.cpp @@ -24,9 +24,17 @@ _lgetxattr(const std::string &input_path_, key = "user.mergerfs." + key_; + return fs::xattr::get(input_path_,key,&val_); } +static +std::string +_mergerfs_config_file(const fs::path &mount_) +{ + return mount_ / ".mergerfs"; +} + bool mergerfs::api::is_mergerfs(const fs::path &mountpoint_) {