summaryrefslogtreecommitdiff
path: root/libpanto/src/session.zig
diff options
context:
space:
mode:
Diffstat (limited to 'libpanto/src/session.zig')
-rw-r--r--libpanto/src/session.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpanto/src/session.zig b/libpanto/src/session.zig
index 843989a..35fd09b 100644
--- a/libpanto/src/session.zig
+++ b/libpanto/src/session.zig
@@ -15,8 +15,8 @@
//! is recorded in entries but does NOT round-trip into the in-memory
//! conversation, because providers don't need it for request serialization.
//!
-//! Format version: 1 (see `CURRENT_VERSION`). Migrations live in
-//! `session_manager.zig`.
+//! Format version: 1 (see `CURRENT_VERSION`). No prior versions exist;
+//! when v2 lands, a migration step on load can transform v1 entries.
const std = @import("std");
const Allocator = std.mem.Allocator;
@@ -73,8 +73,8 @@ pub const WireStamp = struct {
};
/// Bumped whenever the on-disk format changes in a way that older readers
-/// cannot tolerate. Older files are upgraded by `migrate()` on load and
-/// the file is rewritten once.
+/// cannot tolerate. When that happens, add a load-time migration that
+/// upgrades older files and rewrites them once.
pub const CURRENT_VERSION: u32 = 1;
// =============================================================================