mirror of https://github.com/trapexit/mergerfs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
672 B
34 lines
672 B
#pragma once
|
|
|
|
#include "fs_path.hpp"
|
|
|
|
#include <map>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
|
|
namespace mergerfs
|
|
{
|
|
namespace api
|
|
{
|
|
bool
|
|
is_mergerfs(const fs::path &path);
|
|
|
|
int
|
|
get_kvs(const fs::path &mountpoint,
|
|
std::map<std::string,std::string> *kvs);
|
|
|
|
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<std::string> &paths);
|
|
}
|
|
}
|