diff options
Diffstat (limited to 'src/Kind.zig')
| -rw-r--r-- | src/Kind.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Kind.zig b/src/Kind.zig index 0a8fc7ae..2f40c8ea 100644 --- a/src/Kind.zig +++ b/src/Kind.zig @@ -972,7 +972,7 @@ fn moreFound(p: *Pardes, id: usize, rows: []const u8) void { const rf = if (rp.file) |*f| f else return; const o = if (rf.output) |*x| x else return; const content = std.mem.concat(p.gpa, u8, &.{ rf.content, rows }) catch |err| return p.reportError(id, "found", err); - pardes.panes.Output.fillResults(p, id, std.fs.path.dirname(rf.path) orelse p.sessionDir(), .search, o.arg(), content, null) catch |err| p.reportError(id, "found", err); + pardes.panes.Output.fillResults(p, id, std.Io.Dir.path.dirname(rf.path) orelse p.sessionDir(), .search, o.arg(), content, null) catch |err| p.reportError(id, "found", err); } fn same(o: Outcome) Outcome { @@ -1136,7 +1136,7 @@ pub var seed_base: u64 = 0; /// directory, refilled when one is there, whose rows n and N walk from the /// kind's pane, a Look of one going to its kind (look.zig lookKind). fn textPane(p: *Pardes, id: usize, slot: *const Slot, name: []const u8, text: []const u8) void { - const dir = std.fs.path.dirname(slot.path) orelse p.sessionDir(); + const dir = std.Io.Dir.path.dirname(slot.path) orelse p.sessionDir(); const content = p.gpa.dupe(u8, text) catch |err| return p.reportError(id, name, err); pardes.panes.Output.fillResults(p, id, dir, .kind, name, content, null) catch |err| p.reportError(id, name, err); } |
