| ... | @@ -170,7 +170,7 @@ pub const Tree = struct { | ... | @@ -170,7 +170,7 @@ pub const Tree = struct { |
| 170 | file = 100, | 170 | file = 100, |
| 171 | directory = 40, | 171 | directory = 40, |
| 172 | submodule = 160, | 172 | submodule = 160, |
| 173 | _, | 173 | symlink = 120, |
| 174 | | 174 | |
| 175 | pub fn format(self: Type, comptime fmt: string, options: std.fmt.FormatOptions, writer: anytype) !void { | 175 | pub fn format(self: Type, comptime fmt: string, options: std.fmt.FormatOptions, writer: anytype) !void { |
| 176 | _ = fmt; | 176 | _ = fmt; |
| ... | @@ -180,7 +180,7 @@ pub const Tree = struct { | ... | @@ -180,7 +180,7 @@ pub const Tree = struct { |
| 180 | .file => '-', | 180 | .file => '-', |
| 181 | .directory => 'd', | 181 | .directory => 'd', |
| 182 | .submodule => 'm', | 182 | .submodule => 'm', |
| 183 | _ => '?', | 183 | .symlink => '-', |
| 184 | }); | 184 | }); |
| 185 | } | 185 | } |
| 186 | }; | 186 | }; |