commit 2c59f95e87979163e746cee2783d58d2f54e7da6 (tree)
parent 1ffff1bb181da785b63bb3ed6accf23874cb07f3
Author: LeRoyce Pearson <leroycepearson@geemili.xyz>
Date: Thu, 30 Apr 2020 17:11:45 -0600
Don't use `iterate` when opening manifest directory
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/cache_hash.zig b/lib/std/cache_hash.zig
@@ -44,7 +44,7 @@ pub const CacheHash = struct {
pub fn init(alloc: *Allocator, manifest_dir_path: []const u8) !@This() {
try fs.cwd().makePath(manifest_dir_path);
- const manifest_dir = try fs.cwd().openDir(manifest_dir_path, .{ .iterate = true });
+ const manifest_dir = try fs.cwd().openDir(manifest_dir_path, .{});
return CacheHash{
.alloc = alloc,