mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 02:48:59 -04:00
Consolidate branch policy selection behind the BranchPolicy interfaces and update filesystem operations to use the bespoke policy implementations. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
23 lines
534 B
C++
23 lines
534 B
C++
#pragma once
|
|
|
|
#include "func_create_base.hpp"
|
|
|
|
namespace Func2
|
|
{
|
|
class CreateMSPLFS : public CreateBase
|
|
{
|
|
public:
|
|
CreateMSPLFS() {}
|
|
~CreateMSPLFS() {}
|
|
public:
|
|
std::string_view name() const;
|
|
bool path_preserving() const;
|
|
public:
|
|
int operator()(const ugid_t &ugid,
|
|
const Branches &branches,
|
|
const fs::path &fusepath,
|
|
fuse_file_info_t *&ffi,
|
|
const mode_t &mode,
|
|
const mode_t &umask);
|
|
};
|
|
}
|