From a8d6ea8dbf0f3731d57f0bfdca215dc6de91b4be Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 10 Mar 2024 17:48:34 -0500 Subject: [PATCH] func_create_ff.cpp --- src/func_create_ff.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/func_create_ff.cpp b/src/func_create_ff.cpp index 7e56a1ad..264f7570 100644 --- a/src/func_create_ff.cpp +++ b/src/func_create_ff.cpp @@ -51,9 +51,14 @@ namespace l continue; for(auto const &fnmatch : branch.exclude) { + int rv; + const char *pattern = "*"; + rv = fnmatch(pattern,fusepath_.string().c_str(),FNM_CASEFOLD); + + if(rv == 0) + continue; } - rv = fs::info(branch.path,&info); if(rv == -1) continue;