mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-26 09:56:28 -05:00
27 lines
410 B
C++
27 lines
410 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "branches.hpp"
|
||
|
|
|
||
|
|
#include "fs_path.hpp"
|
||
|
|
|
||
|
|
#include <sys/types.h>
|
||
|
|
|
||
|
|
|
||
|
|
namespace Func2
|
||
|
|
{
|
||
|
|
class OpenBase
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
OpenBase() {}
|
||
|
|
~OpenBase() {}
|
||
|
|
|
||
|
|
public:
|
||
|
|
virtual std::string_view name() const = 0;
|
||
|
|
|
||
|
|
public:
|
||
|
|
virtual int operator()(const Branches &branches,
|
||
|
|
const fs::path &fusepath,
|
||
|
|
const mode_t mode) = 0;
|
||
|
|
};
|
||
|
|
}
|