summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index ba373726..aa458198 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -4466,7 +4466,7 @@ pub const Pardes = struct {
pub fn recentKeeps(path: []const u8) bool {
const local = filesystem.localPath(path) orelse return false;
if (comptime !hosted) return true;
- return exec.isFile(local);
+ return exec.kindOf(local) == .file;
}
/// A file, PDF or image pane closing: its place noted in Recent, when