We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cdd6d1 commit fdf02a4Copy full SHA for fdf02a4
src/basic/path-util.c
@@ -1235,9 +1235,10 @@ bool hidden_or_backup_file(const char *filename) {
1235
assert(filename);
1236
1237
if (filename[0] == '.' ||
1238
- streq(filename, "lost+found") ||
1239
- streq(filename, "aquota.user") ||
1240
- streq(filename, "aquota.group") ||
+ STR_IN_SET(filename,
+ "lost+found",
+ "aquota.user",
1241
+ "aquota.group") ||
1242
endswith(filename, "~"))
1243
return true;
1244
0 commit comments