mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-03 21:30:11 -05:00
28 lines
460 B
C++
28 lines
460 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "branches.hpp"
|
||
|
|
|
||
|
|
#include "fs_path.hpp"
|
||
|
|
|
||
|
|
#include <sys/types.h>
|
||
|
|
|
||
|
|
|
||
|
|
namespace Func2
|
||
|
|
{
|
||
|
|
class ChownBase
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
ChownBase() {}
|
||
|
|
~ChownBase() {}
|
||
|
|
|
||
|
|
public:
|
||
|
|
virtual std::string_view name() const = 0;
|
||
|
|
|
||
|
|
public:
|
||
|
|
virtual int operator()(const Branches &branches,
|
||
|
|
const fs::path &fusepath,
|
||
|
|
const uid_t uid,
|
||
|
|
const gid_t gid) = 0;
|
||
|
|
};
|
||
|
|
}
|