mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 15:36:31 -05: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
531 B
C++
23 lines
531 B
C++
#pragma once
|
|
|
|
#include "func_create_base.hpp"
|
|
|
|
namespace Func2
|
|
{
|
|
class CreateEPLFS : public CreateBase
|
|
{
|
|
public:
|
|
CreateEPLFS() {}
|
|
~CreateEPLFS() {}
|
|
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);
|
|
};
|
|
}
|