Skip to content

Commit 52e2836

Browse files
benthecarmanclaude
andcommitted
Add FilesystemStoreV2 with paginated listing support
Implements PaginatedKVStore traits with timestamp-prefixed filenames for newest-first pagination and [empty] directory markers for consistent namespace hierarchy. Includes v1 to v2 migration utility. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 5ea64f4 commit 52e2836

3 files changed

Lines changed: 660 additions & 1 deletion

File tree

lightning-persister/src/fs_store_common.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
//! Common utilities shared between [`FilesystemStore`].
1+
//! Common utilities shared between [`FilesystemStore`] and [`FilesystemStoreV2`].
22
//!
33
//! [`FilesystemStore`]: crate::fs_store::FilesystemStore
4+
//! [`FilesystemStoreV2`]: crate::fs_store_v2::FilesystemStoreV2
45
56
use crate::utils::{check_namespace_key_validity, is_valid_kvstore_str};
67

0 commit comments

Comments
 (0)