fn basenameInner(comptime path_type: PathType, path: []const u8) []const u8
fn basenameInner(comptime path_type: PathType, path: []const u8) []const u8 { var it = ComponentIterator(path_type, u8).init(path); const last = it.last() orelse return &[_]u8{}; return last.name; }