#pragma once #include "fs_path.hpp" #include #include #include namespace mergerfs { namespace api { bool is_mergerfs(const fs::path &path); int get_kvs(const fs::path &mountpoint, std::map *kvs); int set_kv(const fs::path &mountpoint, const std::string &key, const std::string &val); int basepath(const std::string &path, std::string *basepath); int relpath(const std::string &path, std::string *relpath); int fullpath(const std::string &path, std::string *fullpath); int allpaths(const std::string &path, std::vector *paths); } }