authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-09-18 11:47:59 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-09-18 11:47:59 -07:00
log9c43bd4e93af32d6c59693754d1954186c5e941a
tree9f5c5949b9f9cd53cfa4c65fa8ece95ee4a297e0
parent928e8883003aa02de7f66d29fee86f0bcdd8e090

more dead code removal


2 files changed, 0 insertions(+), 10 deletions(-)

src/cmd/license.zig-1
......@@ -5,7 +5,6 @@ const licenses = @import("licenses");
55const extras = @import("extras");
66
77const zigmod = @import("../lib.zig");
8const u = @import("./../util/index.zig");
98const common = @import("./../common.zig");
109
1110const List = std.ArrayList(zigmod.Module);
src/util/funcs.zig-9
......@@ -59,15 +59,6 @@ pub fn does_folder_exist(fpath: string) !bool {
5959 return true;
6060}
6161
62pub fn _join(comptime delim: string, comptime xs: []const string) string {
63 var buf: string = "";
64 for (xs) |x, i| {
65 buf = buf ++ x;
66 if (i < xs.len - 1) buf = buf ++ delim;
67 }
68 return buf;
69}
70
7162pub fn trim_suffix(in: string, suffix: string) string {
7263 if (std.mem.endsWith(u8, in, suffix)) {
7364 return in[0 .. in.len - suffix.len];