mergerfs/src/func_utimens_base.hpp

24 lines
399 B
C++
Raw Normal View History

#pragma once
#include "branches.hpp"
#include "fs_path.hpp"
namespace Func2
{
class UtimensBase
{
public:
UtimensBase() {}
~UtimensBase() {}
public:
virtual std::string_view name() const = 0;
public:
virtual int operator()(const Branches &branches,
const fs::path &fusepath,
const timespec times_[2]) = 0;
};
}