Files
mars-dosutils/net.h
Mario Fetka 686b27a668 tools: add shared path directory helper
Move the common path-is-directory check into tools.c and declare it in net.h.

Replace the local NDIR and Trustee helper implementations with
tool_path_is_dir(), and update NDIR, REMOVE and REVOKE callers to use the
shared helper directly. The helper preserves the existing behavior of treating
empty and current-directory paths as directories and otherwise falling back to
stat().

No behavior change.
2026-05-29 13:09:05 +02:00

10 KiB