KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KICAD_DIFF::MERGE_PLAN Struct Reference

Result of planning a 3-way merge. More...

#include <kicad_merge_engine.h>

Public Member Functions

bool Resolved () const
 
std::size_t ConflictCount () const
 
nlohmann::json ToJson () const
 

Static Public Member Functions

static MERGE_PLAN FromJson (const nlohmann::json &aJson)
 

Public Attributes

std::vector< ITEM_RESOLUTIONactions
 
std::vector< KIID_PATHunresolved
 
bool requiresZoneRefill = false
 
bool requiresConnectivityRebuild = false
 

Detailed Description

Result of planning a 3-way merge.

Plan generation is pure: feeds three DOCUMENT_DIFFs (ancestor-vs-ours, ancestor-vs-theirs, ours-vs-theirs) and produces actions + unresolved. The applier consumes this; validators run after applying.

Definition at line 121 of file kicad_merge_engine.h.

Member Function Documentation

◆ ConflictCount()

std::size_t KICAD_DIFF::MERGE_PLAN::ConflictCount ( ) const
inline

◆ FromJson()

MERGE_PLAN KICAD_DIFF::MERGE_PLAN::FromJson ( const nlohmann::json & aJson)
static

◆ Resolved()

◆ ToJson()

nlohmann::json KICAD_DIFF::MERGE_PLAN::ToJson ( ) const

Member Data Documentation

◆ actions

◆ requiresConnectivityRebuild

bool KICAD_DIFF::MERGE_PLAN::requiresConnectivityRebuild = false

◆ requiresZoneRefill

◆ unresolved


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