| author | |
| committer | |
| log | 9c43bd4e93af32d6c59693754d1954186c5e941a |
| tree | 9f5c5949b9f9cd53cfa4c65fa8ece95ee4a297e0 |
| parent | 928e8883003aa02de7f66d29fee86f0bcdd8e090 |
2 files changed, 0 insertions(+), 10 deletions(-)
src/cmd/license.zig-1| ... | ... | @@ -5,7 +5,6 @@ const licenses = @import("licenses"); |
| 5 | 5 | const extras = @import("extras"); |
| 6 | 6 | |
| 7 | 7 | const zigmod = @import("../lib.zig"); |
| 8 | const u = @import("./../util/index.zig"); | |
| 9 | 8 | const common = @import("./../common.zig"); |
| 10 | 9 | |
| 11 | 10 | const List = std.ArrayList(zigmod.Module); |
src/util/funcs.zig-9| ... | ... | @@ -59,15 +59,6 @@ pub fn does_folder_exist(fpath: string) !bool { |
| 59 | 59 | return true; |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | pub 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 | ||
| 71 | 62 | pub fn trim_suffix(in: string, suffix: string) string { |
| 72 | 63 | if (std.mem.endsWith(u8, in, suffix)) { |
| 73 | 64 | return in[0 .. in.len - suffix.len]; |