OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::core::set_reference_fn Struct Reference

Function object to set a reference in a connection. More...

#include <reference.hpp>

Public Member Functions

void operator() (connection_ptr const &conn, reference_t const &url) const

Detailed Description

Function object to set a reference in a connection.

This functor provides an operator() that takes a connection pointer and a reference_t (URL) and sets the specified reference in the version control system. It allows for efficient setting of references in the version control system.

Member Function Documentation

◆ operator()()

void oxy::core::set_reference_fn::operator() ( connection_ptr const & conn,
reference_t const & url ) const
Parameters
conn- A pointer to the database (container) connection in which to set the reference.
url- The reference_t (URL) to set in the version control system.