Skip to content

Commit

Permalink
fix is_immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmurariu committed Jul 22, 2024
1 parent a919b8e commit 95d9048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raphtory/src/db/api/storage/storage_ops/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ impl std::fmt::Display for GraphStorage {
impl GraphStorage {
pub fn is_immutable(&self) -> bool {
match self {
GraphStorage::Mem(_) => false,
GraphStorage::Unlocked(_) => true,
GraphStorage::Mem(_) => true,
GraphStorage::Unlocked(_) => false,
#[cfg(feature = "storage")]
GraphStorage::Disk(_) => true,
}
Expand Down

0 comments on commit 95d9048

Please sign in to comment.