| ... | @@ -250,6 +250,7 @@ pub const Tree = struct { | ... | @@ -250,6 +250,7 @@ pub const Tree = struct { |
| 250 | directory = 40, | 250 | directory = 40, |
| 251 | submodule = 160, | 251 | submodule = 160, |
| 252 | symlink = 120, | 252 | symlink = 120, |
| | 253 | none = 0, |
| 253 | | 254 | |
| 254 | pub fn format(self: Type, comptime fmt: string, options: std.fmt.FormatOptions, writer: anytype) !void { | 255 | pub fn format(self: Type, comptime fmt: string, options: std.fmt.FormatOptions, writer: anytype) !void { |
| 255 | _ = fmt; | 256 | _ = fmt; |
| ... | @@ -260,6 +261,7 @@ pub const Tree = struct { | ... | @@ -260,6 +261,7 @@ pub const Tree = struct { |
| 260 | .directory => 'd', | 261 | .directory => 'd', |
| 261 | .submodule => 'm', | 262 | .submodule => 'm', |
| 262 | .symlink => '-', | 263 | .symlink => '-', |
| | 264 | .none => '-', |
| 263 | }); | 265 | }); |
| 264 | } | 266 | } |
| 265 | }; | 267 | }; |