KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIGIT::LIBGIT2_SCOPE Struct Reference

Holds libgit2 initialized while it lives, for a helper that can run before any git backend exists. More...

#include <kicad_git_memory.h>

Public Member Functions

 LIBGIT2_SCOPE ()
 
 ~LIBGIT2_SCOPE ()
 
 LIBGIT2_SCOPE (const LIBGIT2_SCOPE &)=delete
 
LIBGIT2_SCOPE & operator= (const LIBGIT2_SCOPE &)=delete
 

Detailed Description

Holds libgit2 initialized while it lives, for a helper that can run before any git backend exists.

Declare it before the libgit2 objects it guards, so they are freed first.

Definition at line 26 of file kicad_git_memory.h.

Constructor & Destructor Documentation

◆ LIBGIT2_SCOPE() [1/2]

KIGIT::LIBGIT2_SCOPE::LIBGIT2_SCOPE ( )
inline

Definition at line 28 of file kicad_git_memory.h.

Referenced by LIBGIT2_SCOPE(), and operator=().

◆ ~LIBGIT2_SCOPE()

KIGIT::LIBGIT2_SCOPE::~LIBGIT2_SCOPE ( )
inline

Definition at line 29 of file kicad_git_memory.h.

◆ LIBGIT2_SCOPE() [2/2]

KIGIT::LIBGIT2_SCOPE::LIBGIT2_SCOPE ( const LIBGIT2_SCOPE & )
delete

References LIBGIT2_SCOPE().

Member Function Documentation

◆ operator=()

LIBGIT2_SCOPE & KIGIT::LIBGIT2_SCOPE::operator= ( const LIBGIT2_SCOPE & )
delete

References LIBGIT2_SCOPE().


The documentation for this struct was generated from the following file: