pub const PrefixedPath = struct prefix: u8sub_path: []const u8fn eql(a: PrefixedPath, b: PrefixedPath) boolfn hash(pp: PrefixedPath) u3260
61
62
63
64
65
66
67
68
69
70
71pub const PrefixedPath = struct {
prefix: u8,
sub_path: []const u8,
fn eql(a: PrefixedPath, b: PrefixedPath) bool {
return a.prefix == b.prefix and std.mem.eql(u8, a.sub_path, b.sub_path);
}
fn hash(pp: PrefixedPath) u32 {
return @truncate(std.hash.Wyhash.hash(pp.prefix, pp.sub_path));
}
}