mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-11-03 21:49:42 -09:00
Zig 0.16: one last fs/io
This commit is contained in:
parent
4e74821cf9
commit
87317504c9
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ fn deleteCmd(path: [:0]const u8, ptr: *align(1) ?*model.Entry) bool {
|
|||
ui.runCmd(&.{"/bin/sh", "-c", cmd}, null, env, true);
|
||||
}
|
||||
|
||||
const stat = scan.statAt(std.fs.cwd(), path, false, null) catch {
|
||||
const stat = scan.statAt(std.Io.Dir.cwd(), path, false, null) catch {
|
||||
// Stat failed. Would be nice to display an error if it's not
|
||||
// 'FileNotFound', but w/e, let's just assume the item has been
|
||||
// deleted as expected.
|
||||
|
|
|
|||
Loading…
Reference in a new issue