KiCad PCB EDA Suite
Loading...
Searching...
No Matches
project_tree_pane.cpp File Reference
#include <stack>
#include <git2.h>
#include <wx/regex.h>
#include <wx/stdpaths.h>
#include <wx/string.h>
#include <wx/msgdlg.h>
#include <wx/textdlg.h>
#include <advanced_config.h>
#include <bitmaps.h>
#include <bitmap_store.h>
#include <confirm.h>
#include <dialogs/git/dialog_git_commit.h>
#include <dialogs/git/dialog_git_switch.h>
#include <gestfich.h>
#include <macros.h>
#include <trace_helpers.h>
#include <wildcards_and_files_ext.h>
#include <kiplatform/environment.h>
#include <core/kicad_algo.h>
#include <paths.h>
#include <project/project_local_settings.h>
#include <scoped_set_reset.h>
#include <string_utils.h>
#include <launch_ext.h>
#include <wx/dcclient.h>
#include <wx/settings.h>
#include <git/git_commit_handler.h>
#include <git/git_pull_handler.h>
#include <git/git_push_handler.h>
#include <git/git_resolve_conflict_handler.h>
#include <git/git_revert_handler.h>
#include <git/git_switch_branch_handler.h>
#include <git/git_compare_handler.h>
#include <git/git_remove_vcs_handler.h>
#include <git/git_add_to_index_handler.h>
#include <git/git_remove_from_index_handler.h>
#include <git/git_sync_handler.h>
#include <git/git_clone_handler.h>
#include <git/kicad_git_compat.h>
#include <dialogs/git/dialog_git_repository.h>
#include "project_tree_item.h"
#include "project_tree.h"
#include "pgm_kicad.h"
#include "kicad_id.h"
#include "kicad_manager_frame.h"
#include "project_tree_pane.h"
#include <widgets/kistatusbar.h>

Go to the source code of this file.

Functions

std::vector< wxString > getProjects (const wxDir &dir)
 
static git_repository * get_git_repository_for_file (const char *filename)
 
static int git_create_branch (git_repository *aRepo, wxString &aBranchName)
 

Variables

static const wxChar * s_allowedExtensionsToList []
 

Function Documentation

◆ get_git_repository_for_file()

static git_repository * get_git_repository_for_file ( const char *  filename)
static

Definition at line 360 of file project_tree_pane.cpp.

References GIT_BUF_INIT.

Referenced by PROJECT_TREE_PANE::ReCreateTreePrj().

◆ getProjects()

std::vector< wxString > getProjects ( const wxDir &  dir)

◆ git_create_branch()

static int git_create_branch ( git_repository *  aRepo,
wxString &  aBranchName 
)
static

Definition at line 1715 of file project_tree_pane.cpp.

Referenced by PROJECT_TREE_PANE::onGitSwitchBranch().

Variable Documentation

◆ s_allowedExtensionsToList

const wxChar* s_allowedExtensionsToList[]
static

Definition at line 95 of file project_tree_pane.cpp.

Referenced by PROJECT_TREE_PANE::PROJECT_TREE_PANE().