pub inline fn isSep(comptime path_type: PathType, comptime T: type, c: T) bool
path_type: PathType
T: type
c: T
60 61 62 63 64 65 66
pub inline fn isSep(comptime path_type: PathType, comptime T: type, c: T) bool { return switch (path_type) { .windows => c == mem.nativeToLittle(T, '/') or c == mem.nativeToLittle(T, '\\'), .posix => c == mem.nativeToLittle(T, '/'), .uefi => c == mem.nativeToLittle(T, '\\'), }; }