Browse Source

func_getattr_base.hpp

getattr
Antonio SJ Musumeci 2 months ago
parent
commit
5fd5062789
  1. 2
      src/func_getattr_base.hpp
  2. 10
      src/func_getattr_ff.cpp
  3. 17
      src/func_getattr_ff.hpp

2
src/func_getattr_base.hpp

@ -1,5 +1,7 @@
#pragma once
#include "fs_path.hpp"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

10
src/func_getattr_ff.cpp

@ -0,0 +1,10 @@
#include "func_getattr_ff.hpp"
int
Func2::process(const Branches &branches_,
const fs::Path &fusepath_,
struct stat *st_,
fuse_timeouts_t *timeout_)
{
return -ENOENT;
}

17
src/func_getattr_ff.hpp

@ -0,0 +1,17 @@
#include "func_getattr_base.hpp"
namespace Func2
{
class GetattrFF : final public GetattrBase
{
public:
GetattrFF() {}
~GetattrFF() {}
public:
int process(const Branches &branches,
const fs::Path &fusepath,
struct stat *st,
fuse_timeouts_t *timeout);
};
}
Loading…
Cancel
Save