diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-06 17:32:19 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:08 -0800 |
| commit | dd1d15b72aa3bae4b38e2337609758ffb7a7b55a (patch) | |
| tree | e6e43ed851e9a0107e851df242c23b66855151d3 /src/Compilation.zig | |
| parent | 3204fb756980c19b7a95534acdd7a1bba837fbc3 (diff) | |
| download | zig-dd1d15b72aa3bae4b38e2337609758ffb7a7b55a.tar.gz zig-dd1d15b72aa3bae4b38e2337609758ffb7a7b55a.zip | |
update all occurrences of std.fs.Dir to std.Io.Dir
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 582c9dff3c..d75cba5a11 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -446,7 +446,7 @@ pub const Path = struct { } /// Given a `Path`, returns the directory handle and sub path to be used to open the path. - pub fn openInfo(p: Path, dirs: Directories) struct { fs.Dir, []const u8 } { + pub fn openInfo(p: Path, dirs: Directories) struct { Io.Dir, []const u8 } { const dir = switch (p.root) { .none => { const cwd_sub_path = absToCwdRelative(p.sub_path, dirs.cwd); @@ -1872,7 +1872,7 @@ pub const CreateDiagnostic = union(enum) { pub const CreateCachePath = struct { which: enum { local, global }, sub: []const u8, - err: (fs.Dir.MakeError || fs.Dir.OpenError || fs.Dir.StatFileError), + err: (Io.Dir.MakeError || Io.Dir.OpenError || Io.Dir.StatFileError), }; pub fn format(diag: CreateDiagnostic, w: *Writer) Writer.Error!void { switch (diag) { |
