MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / CurlInitializer

Method CurlInitializer

src/pull/download_model.cpp:316–320  ·  view source on GitHub ↗

\brief RAII wrapper for CURL initialization \return the CURL initializer

Source from the content-addressed store, hash-verified

314/// \brief RAII wrapper for CURL initialization
315/// \return the CURL initializer
316CurlInitializer::CurlInitializer() {
317 if (!init_curl()) {
318 throw std::runtime_error("Failed to initialize CURL");
319 }
320}
321
322/// \brief Destructor
323CurlInitializer::~CurlInitializer() {

Callers

nothing calls this directly

Calls 1

init_curlFunction · 0.85

Tested by

no test coverage detected