Browse Source

func_getattr_ff.cpp

getattr
Antonio SJ Musumeci 4 weeks ago
parent
commit
7e868a1dcc
  1. 4
      src/func_getattr_ff.cpp

4
src/func_getattr_ff.cpp

@ -2,8 +2,6 @@
#include "fs_lstat.hpp" #include "fs_lstat.hpp"
#include "fmt.hpp"
int int
Func2::GetattrFF::process(const Branches &branches_, Func2::GetattrFF::process(const Branches &branches_,
const fs::Path &fusepath_, const fs::Path &fusepath_,
@ -21,7 +19,7 @@ Func2::GetattrFF::process(const Branches &branches_,
fullpath = branch.path; fullpath = branch.path;
fullpath /= fusepath_; fullpath /= fusepath_;
rv = fs::lstat(fullpath.c_str(),st_); rv = fs::lstat(fullpath.c_str(),st_);
fmt::print("{} {}\n",fullpath,rv);
printf("%s %d\n",fullpath,rv);
if(rv == 0) if(rv == 0)
return 0; return 0;
} }

Loading…
Cancel
Save