commit: 3aa1021d120c813262dd6f789f244b5f86480c63
parent 45883ea90258088de140ca5146dd763fed8b0d1d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 15 Jun 2023 21:28:01 +0200
main: fnmatch::flags → fnmatch::flag
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.ha b/main.ha
@@ -187,7 +187,7 @@ fn is_blob(filename: str) (bool | fs::error | io::error) = {
fn is_excluded(filename: str) bool = {
for (let i = 0z; i < len(excludes); i += 1) {
- if (fnmatch::fnmatch(excludes[i], filename, fnmatch::flags::NONE)) {
+ if (fnmatch::fnmatch(excludes[i], filename, fnmatch::flag::NONE)) {
return true;
};
};