aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Cache/Path.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-12-08 13:46:29 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-12-23 22:15:08 -0800
commit264d714321d3e5f1f189af393e1fb24d101a7e91 (patch)
treecb637a9c8c8565790db5b8cbcd1e960f88523da1 /lib/std/Build/Cache/Path.zig
parentf53248a40936ebc9aaf75ddbd16e67ebec05ab84 (diff)
downloadzig-264d714321d3e5f1f189af393e1fb24d101a7e91.tar.gz
zig-264d714321d3e5f1f189af393e1fb24d101a7e91.zip
update all openDir() sites to accept io instance
Diffstat (limited to 'lib/std/Build/Cache/Path.zig')
-rw-r--r--lib/std/Build/Cache/Path.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/Build/Cache/Path.zig b/lib/std/Build/Cache/Path.zig
index 60211670de..93e0c0d792 100644
--- a/lib/std/Build/Cache/Path.zig
+++ b/lib/std/Build/Cache/Path.zig
@@ -71,6 +71,7 @@ pub fn openFile(p: Path, io: Io, sub_path: []const u8, flags: Io.File.OpenFlags)
pub fn openDir(
p: Path,
+ io: Io,
sub_path: []const u8,
args: Io.Dir.OpenOptions,
) Io.Dir.OpenError!Io.Dir {
@@ -80,7 +81,7 @@ pub fn openDir(
p.sub_path, sub_path,
}) catch return error.NameTooLong;
};
- return p.root_dir.handle.openDir(joined_path, args);
+ return p.root_dir.handle.openDir(io, joined_path, args);
}
pub fn makeOpenPath(p: Path, sub_path: []const u8, opts: Io.Dir.OpenOptions) !Io.Dir {