| ... | @@ -54,7 +54,7 @@ pub fn does_file_exist(fpath: []const u8) !bool { | ... | @@ -54,7 +54,7 @@ pub fn does_file_exist(fpath: []const u8) !bool { |
| 54 | } | 54 | } |
| 55 | | 55 | |
| 56 | pub fn does_folder_exist(fpath: []const u8) !bool { | 56 | pub fn does_folder_exist(fpath: []const u8) !bool { |
| 57 | const file = try std.fs.cwd().openFile(abs_path, .{}) catch |e| switch (e) { | 57 | const file = std.fs.cwd().openFile(fpath, .{}) catch |e| switch (e) { |
| 58 | error.FileNotFound => return false, | 58 | error.FileNotFound => return false, |
| 59 | else => return e, | 59 | else => return e, |
| 60 | }; | 60 | }; |