You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

27 lines
460 B

#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;
};
}