mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-01 12:26:34 -05:00
Implement bespoke branch policies
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>
This commit is contained in:
parent
42ab831d97
commit
96d8232853
451 changed files with 18495 additions and 7562 deletions
23
src/func_create_eplfs.hpp
Normal file
23
src/func_create_eplfs.hpp
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#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);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue