commit: 2127c12739b1b6bf3ea4980cb8d4ba99d1306882
parent 2723c4180621625d55b6d00e89be2dddeed69e27
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 2 Dec 2023 04:19:47 +0100
fs::next no longer includes . and ..
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/main.ha b/main.ha
@@ -221,10 +221,6 @@ fn check_dir(dirname: str) (void | errors::invalid) = {
break;
};
- if (ent.name == "." || ent.name == "..") {
- continue;
- };
-
const filename_path = path::init(dirname, ent.name)!;
const filename = path::string(&filename_path);