authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-04-09 01:22:00 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-04-09 01:22:00 -07:00
logf84befd494dbbcd6f76845456103169acc18b253
treeed81ebbc8e9f1cd1a6cbd5ffc5c57e5fec7cd2de
parentcceff1ebece47368b827ec426c5dca230142ff3d
signaturelock-open Commit is signed but in an unrecognized format.

util/module- compare based on id too


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.clean_path, another.clean_path);
44 return std.mem.eql(u8, self.id, another.id) or std.mem.eql(u8, self.clean_path, another.clean_path);
4545 }
4646
4747 pub fn get_hash(self: Module, cdpath: []const u8) ![]const u8 {