Skip to content

Commit cadf81f

Browse files
committed
DROPME!: allow dead code for tiered storage builder setters pending lightningdevkit#871
- Added temporary #[allow(dead_code)] annotations to NodeBuilder::set_backup_storage_dir_path and NodeBuilder::set_ephemeral_storage_dir_path - Keeps these tiered storage builder setters compilable while they remain unused before dropping in lightningdevkit#871
1 parent 6d8fa02 commit cadf81f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/builder.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ impl NodeBuilder {
635635
/// If not set, durable data will be stored only in the primary store.
636636
///
637637
/// [`SQLITE_BACKUP_DB_FILE_NAME`]: crate::io::sqlite_store::SQLITE_BACKUP_DB_FILE_NAME
638+
#[allow(dead_code)] // Temporal allowance for dead code. Will be dropped in #871
638639
pub fn set_backup_storage_dir_path(&mut self, backup_storage_dir_path: String) -> &mut Self {
639640
let tier_store_config = self.tier_store_config.get_or_insert(TierStoreConfig::default());
640641
tier_store_config.backup_storage_dir_path = Some(backup_storage_dir_path.into());
@@ -647,6 +648,7 @@ impl NodeBuilder {
647648
/// the network graph and scorer. Data stored here can be rebuilt if lost.
648649
///
649650
/// If not set, non-critical data will be stored in the primary store.
651+
#[allow(dead_code)] // Temporal allowance for dead code. Will be dropped in #871
650652
pub fn set_ephemeral_storage_dir_path(
651653
&mut self, ephemeral_storage_dir_path: String,
652654
) -> &mut Self {

0 commit comments

Comments
 (0)