authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-06-05 16:53:25 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-06-05 16:53:25 -07:00
log66cfa409347fd6bf982dcc6831b788b969bfcaa5
treedabb0e749216cf9bb16dee27612f18c9a5a80a17
parent2e3f1a0952d8bc9d404f9f472be18b0eabe9d064

util/Module- only compare `id` in `.eql`


1 files changed, 1 insertions(+), 1 deletions(-)

src/util/module.zig+1-1
......@@ -41,7 +41,7 @@ pub const Module = struct {
4141 }
4242
4343 pub fn eql(self: Module, another: Module) bool {
44 return std.mem.eql(u8, self.id, another.id) or std.mem.eql(u8, self.clean_path, another.clean_path);
44 return std.mem.eql(u8, self.id, another.id);
4545 }
4646
4747 pub fn get_hash(self: Module, cdpath: []const u8) ![]const u8 {