diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-08 13:46:29 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:08 -0800 |
| commit | 264d714321d3e5f1f189af393e1fb24d101a7e91 (patch) | |
| tree | cb637a9c8c8565790db5b8cbcd1e960f88523da1 /lib/std/Build/Cache | |
| parent | f53248a40936ebc9aaf75ddbd16e67ebec05ab84 (diff) | |
| download | zig-264d714321d3e5f1f189af393e1fb24d101a7e91.tar.gz zig-264d714321d3e5f1f189af393e1fb24d101a7e91.zip | |
update all openDir() sites to accept io instance
Diffstat (limited to 'lib/std/Build/Cache')
| -rw-r--r-- | lib/std/Build/Cache/Path.zig | 3 |
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 { |
