added observer to repository and updated tests

This commit is contained in:
Sascha Kühl
2025-12-18 16:13:36 +01:00
parent 6307850721
commit 5e2d2ddde5
11 changed files with 286 additions and 66 deletions
+4
View File
@@ -55,7 +55,11 @@ const repository& repository_node::schema() const {
bool repository_node::has_children() const {
return first_child_->next_sibling_ != last_child_;
}
void repository_node::on_attach() const {
info_->on_attach();
}
void repository_node::on_detach() const {}
repository_node::node_ptr repository_node::next() const {
// if we have a child, child is the next iterator to return
// (if we don't iterate over the siblings)