Skip to content

Commit

Permalink
store: Remove unused methods on BlockRangeColumn
Browse files Browse the repository at this point in the history
  • Loading branch information
lutter committed Oct 22, 2024
1 parent 989c980 commit 605c6d2
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions store/postgres/src/block_range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,6 @@ impl<'a> BlockRangeColumn<'a> {
}
}
}

pub fn block(&self) -> BlockNumber {
match self {
BlockRangeColumn::Mutable { block, .. } => *block,
BlockRangeColumn::Immutable { block, .. } => *block,
}
}
}

impl<'a> BlockRangeColumn<'a> {
Expand Down Expand Up @@ -227,13 +220,6 @@ impl<'a> BlockRangeColumn<'a> {
}
}

pub fn column_name(&self) -> &str {
match self {
BlockRangeColumn::Mutable { .. } => BLOCK_RANGE_COLUMN,
BlockRangeColumn::Immutable { .. } => BLOCK_COLUMN,
}
}

/// Output the qualified name of the block range column
pub fn name(&self, out: &mut AstPass<Pg>) {
match self {
Expand Down

0 comments on commit 605c6d2

Please sign in to comment.