Skip to content

Commit

Permalink
WIP: state: formalize BranchGraph
Browse files Browse the repository at this point in the history
Instead of building and discarding the branch graph for UpdateBranch,
make BranchGraph the primary interface for managing state.

Branch state will be loaded lazily as needed,
and changes will be accumulated in the BranchGraphTx
until Commit is called.

Right now, the store's branch methods are just wrapping the graph.
In a future change, those will be deleted in favor of the graph.

[skip changelog]: No user facing changes.J ust a better version of #419.
  • Loading branch information
abhinav committed Sep 26, 2024
1 parent 90b4bb3 commit c47d852
Show file tree
Hide file tree
Showing 3 changed files with 2,229 additions and 206 deletions.
Loading

0 comments on commit c47d852

Please sign in to comment.