MCPcopy Create free account
hub / github.com/SpartanJ/eepp / unstage

Method unstage

src/tools/ecode/plugins/git/gitplugin.cpp:1029–1037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029void GitPlugin::unstage( const std::vector<std::string>& files ) {
1030 if ( files.empty() )
1031 return;
1032 runAsync(
1033 [this, files]() {
1034 return mGit->reset( fixFilePaths( files ), mGit->repoPath( files[0] ) );
1035 },
1036 true, false );
1037}
1038
1039void GitPlugin::discard( const std::vector<std::string>& files ) {
1040 UIMessageBox* msgBox = UIMessageBox::New(

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
resetMethod · 0.45
repoPathMethod · 0.45

Tested by

no test coverage detected