mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 13:50:09 -05:00
Doesn't apply file filter rules to directory.
In Windows uses the information reported by FindFirstFile instead of calling lstat().
This commit is contained in:
parent
5171e93ee5
commit
8204dfad6a
6 changed files with 55 additions and 33 deletions
|
|
@ -155,9 +155,8 @@ static inline int open_noatime(const char* file, int flags)
|
|||
/**
|
||||
* Check if the specified file is hidden.
|
||||
*/
|
||||
static inline int stat_hidden(struct dirent* dd, struct stat* st)
|
||||
static inline int dirent_hidden(struct dirent* dd)
|
||||
{
|
||||
(void)st;
|
||||
return dd->d_name[0] == '.';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue