Skip to content

Commit

Permalink
a few improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer committed Jun 30, 2024
1 parent c44aec6 commit 5fb76c0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions grovedb/src/debugger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,13 @@ fn node_to_update(
n_keep: n_keep.into(),
path_append,
},
crate::Element::Reference(
ReferencePathType::UpstreamRootHeightWithParentPathAdditionReference(n_keep, path_append),
..,
) => grovedbg_types::Element::UpstreamRootHeightWithParentPathAdditionReference {
n_keep: n_keep.into(),
path_append,
},
crate::Element::Reference(
ReferencePathType::UpstreamFromElementHeightReference(n_remove, path_append),
..,
Expand Down
4 changes: 4 additions & 0 deletions grovedbg-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ pub enum Element {
n_keep: u32,
path_append: Vec<PathSegment>,
},
UpstreamRootHeightWithParentPathAdditionReference {
n_keep: u32,
path_append: Vec<PathSegment>,
},
UpstreamFromElementHeightReference {
n_remove: u32,
path_append: Vec<PathSegment>,
Expand Down

0 comments on commit 5fb76c0

Please sign in to comment.