commit 3e69628b753954fae92418a20c64a834148d0b6c
parent 03b698ff54d3b59dad8785d9d6076337f35a81c8
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date: Sun, 20 Sep 2026 08:26:58 -0300
walk: drop the error a directory that will not open never raises
Nothing has assigned Open_Failed since the manager became the one thing that ends
a scan. An unreadable directory is skipped and the volume carries on, which is
the intended behaviour, so the variant only suggested a failure mode the package
does not have.
Out_Of_Memory and Cancelled renumber. No consumer switches on this enum.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/walk/walk.odin b/walk/walk.odin
@@ -30,7 +30,6 @@ DEFAULT_WORKERS :: 8
Error :: enum {
None,
- Open_Failed,
Out_Of_Memory,
Cancelled,
}