summaryrefslogtreecommitdiff
path: root/src/subcommand.zig
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-06-11 09:08:42 -0600
committert <t@tjp.lol>2026-06-11 09:23:28 -0600
commite2477f7d2d2a4eab870a2bd61534cfd146907915 (patch)
tree197dae8b7476558d7f105d3129778f30b91503e1 /src/subcommand.zig
parent813ebd014a7614fdcdf4df5570b50944f2626076 (diff)
libpanto API fixes
- FSJSONLStore: don't require `cwd`, instead panto CLI provides it in the session metadata - Lua: expose the `SessionStore` interface and the `FSJSONLStore` and `NullStore` implementations - C: use idiomatic `const char *` for incoming strings - C: expose the `FSJSONLStore` and `NullStore` implementations
Diffstat (limited to 'src/subcommand.zig')
-rw-r--r--src/subcommand.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subcommand.zig b/src/subcommand.zig
index f0fdfc9..21d2065 100644
--- a/src/subcommand.zig
+++ b/src/subcommand.zig
@@ -272,7 +272,7 @@ fn runSessionsSubcommand(
const session_dir = try session_paths.sessionDirForCwd(allocator, environ_map, cwd);
defer allocator.free(session_dir);
- var store_impl = try panto.FileSystemJSONLStore.init(allocator, io, session_dir, cwd);
+ var store_impl = try panto.FileSystemJSONLStore.init(allocator, io, session_dir);
defer store_impl.deinit();
const store = store_impl.store();