|
OXY API 1.0
OXY API Library Documentation
|
Function object to find a common ancestor for two commits. More...
#include <commit.hpp>
Public Member Functions | |
| maybe< oid_t > | operator() (const connection_ptr &conn, const oid_t &lhs, const oid_t &rhs) const |
Function object to find a common ancestor for two commits.
This functor provides an interface to find the common ancestor of two commits
| maybe< oid_t > oxy::core::find_common_ancestor_fn::operator() | ( | const connection_ptr & | conn, |
| const oid_t & | lhs, | ||
| const oid_t & | rhs ) const |
| conn | - A pointer to the database (container) connection from which to find the common ancestor. |
| lhs | - The OID of the first commit. |
| rhs | - The OID of the second commit. |