authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-04-28 18:39:02 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-04-28 18:39:02 -07:00
logca1b8dcc2891fc1b344e8d602cc593694a1e5008
treeaaf962af3485dec83adc74985433e0f7adc6d4d1
parentab64fd7cb1a8e94e038a90578f933d095599b36f

add 'symlink' mode type


1 files changed, 2 insertions(+), 2 deletions(-)

git.zig+2-2
......@@ -170,7 +170,7 @@ pub const Tree = struct {
170170 file = 100,
171171 directory = 40,
172172 submodule = 160,
173 _,
173 symlink = 120,
174174
175175 pub fn format(self: Type, comptime fmt: string, options: std.fmt.FormatOptions, writer: anytype) !void {
176176 _ = fmt;
......@@ -180,7 +180,7 @@ pub const Tree = struct {
180180 .file => '-',
181181 .directory => 'd',
182182 .submodule => 'm',
183 _ => '?',
183 .symlink => '-',
184184 });
185185 }
186186 };