MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / start

Method start

src/plugins/git/git.cpp:19–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19bool Git::start()
20{
21 GitClient::instance()->init();
22
23 initWindowService();
24 connect(&dpf::Listener::instance(), &dpf::Listener::pluginsStarted, [=] {
25 auto editSrv = dpfGetService(EditorService);
26 if (!editSrv)
27 return;
28
29 auto widget = qobject_cast<AbstractEditWidget *>(GitClient::instance()->gitTabWidget());
30 if (widget)
31 editSrv->registerWidget(GitWindow, widget);
32 });
33
34 return true;
35}
36
37dpf::Plugin::ShutdownFlag Git::stop()
38{

Callers 3

start_scan_srcFunction · 0.45
get_line_numberMethod · 0.45
delete_commentMethod · 0.45

Calls 4

connectFunction · 0.85
gitTabWidgetMethod · 0.80
initMethod · 0.45
registerWidgetMethod · 0.45

Tested by

no test coverage detected