mergerfs/src/mergerfs_api.hpp
trapexit 72fb6e4aba
Some checks failed
mkdocs / deploy (push) Has been cancelled
Update submitting bug reports, improve collect-info (#1598)
2025-12-06 13:55:14 -06:00

34 lines
672 B
C++

#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);
}
}