Browse Source

filter .fuse_hidden* files from readdir

hidden_files
Antonio SJ Musumeci 6 years ago
parent
commit
645c798b91
  1. 2
      src/readdir.cpp

2
src/readdir.cpp

@ -74,6 +74,8 @@ _readdir(const vector<string> &srcmounts,
rv = 0;
for(struct dirent *de = fs::readdir(dh); de && !rv; de = fs::readdir(dh))
{
if(!strncmp(de->d_name,".fuse_hidden",12))
continue;
rv = names.put(de->d_name);
if(rv == 0)
continue;

Loading…
Cancel
Save