mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 23:29:03 +00:00
Don't use iterate when opening manifest directory
This commit is contained in:
parent
1ffff1bb18
commit
2c59f95e87
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ pub const CacheHash = struct {
|
||||||
|
|
||||||
pub fn init(alloc: *Allocator, manifest_dir_path: []const u8) !@This() {
|
pub fn init(alloc: *Allocator, manifest_dir_path: []const u8) !@This() {
|
||||||
try fs.cwd().makePath(manifest_dir_path);
|
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{
|
return CacheHash{
|
||||||
.alloc = alloc,
|
.alloc = alloc,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue