Modules§
Structs§
- Canonical
Canonicalcaptures the state for finding the quorum between a set ofDids and their references, attempting to agree on a Git commit or tag.- Canonical
With Convergence - Similar to
Canonical, however it checks that a new vote of a singleDidconverges with any otherDid, to then see if that provides a different quorum result. - Found
Objects - The result of finding a set of objects in a Git repository.
- Graph
Ahead Behind - The result of checking the relationship between two commits in the commit graph.
- Initial
- A marker for the initial state of
Canonical, after construction usingCanonical::new. - Matched
Rule - A reference that has been matched against a
ValidRule. - Merge
Base - Record a merge base between
aandb. - Missing
Missingmarks whether there were any missing references or objects.- Objects
Found - A marker for the state of
Canonicalonce it has found objects for the calculation, usingCanonical::find_objects. - Quorum
- The result of finding a quorum.
- Quorum
With Convergence - Similar to
Quorum, but also reports whether the candidate converged with one of the other voters. - Rules
- A set of valid
Rules, where the set of DIDs and threshold are fully resolved and valid. Since the rules are constructed via aBTreeMap, they cannot be duplicated.
Enums§
- Object
- The supported type of Git object and its
Oid, for canonical computation. - Object
Type - Supported Git object types for canonical computation