Browse Source

mergerfs_api.cpp

webui
Antonio SJ Musumeci 1 week ago
parent
commit
19ef66771d
  1. 8
      src/mergerfs_api.cpp

8
src/mergerfs_api.cpp

@ -24,9 +24,17 @@ _lgetxattr(const std::string &input_path_,
key = "user.mergerfs." + key_; key = "user.mergerfs." + key_;
return fs::xattr::get(input_path_,key,&val_); return fs::xattr::get(input_path_,key,&val_);
} }
static
std::string
_mergerfs_config_file(const fs::path &mount_)
{
return mount_ / ".mergerfs";
}
bool bool
mergerfs::api::is_mergerfs(const fs::path &mountpoint_) mergerfs::api::is_mergerfs(const fs::path &mountpoint_)
{ {

Loading…
Cancel
Save