|
OXY API 1.0
OXY API Library Documentation
|
Function object to enumerate the parents of a commit. More...
#include <commit.hpp>
Public Types | |
| using | coro_t = boost::coroutines2::coroutine<oid_t> |
Public Member Functions | |
| auto | operator() (const connection_ptr &conn, const oid_t &oid) const -> coro_t::pull_type |
Function object to enumerate the parents of a commit.
This functor provides a coroutine-based interface to enumerate the parent commits of a given commit.
| auto oxy::core::enum_parents_fn::operator() | ( | const connection_ptr & | conn, |
| const oid_t & | oid ) const -> coro_t::pull_type |
| conn | - A pointer to the database (container) connection from which to enumerate parent commits. |
| oid | - The OID of the commit whose parents are to be enumerated. |