|
OXY API 1.0
OXY API Library Documentation
|
Function object to create a commit in the storage container in the OXY-API. More...
#include <storage.hpp>
Public Member Functions | |
| maybe< oid_t > | operator() (IStoragePtr const &stg, signature_t const &author) const |
Function object to create a commit in the storage container in the OXY-API.
This function object provides an operator() that takes a storage container pointer and a signature, and creates a commit in the storage container. It returns a maybe<oid_t> containing the OID of the created commit if successful. It is designed to be used in a constexpr context for compile-time evaluation of commit creation operations.
| maybe< oid_t > oxy::api::make_commit_fn::operator() | ( | IStoragePtr const & | stg, |
| signature_t const & | author ) const |