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

Function object to retrieve all references from a connection. More...

#include <reference.hpp>

Public Member Functions

references operator() (connection_ptr const &conn) const

Detailed Description

Function object to retrieve all references from a connection.

This functor provides an operator() that takes a connection pointer and returns a map of references, where the key is the reference name and the value is the corresponding URL. It allows for efficient retrieval of all references in the version control system.

Member Function Documentation

◆ operator()()

references oxy::core::get_references_fn::operator() ( connection_ptr const & conn) const
Parameters
conn- A pointer to the database (container) connection from which to retrieve references.
Returns
A map of references, where the key is the reference name and the value is the corresponding URL.