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

Method stage

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

Source from the content-addressed store, hash-verified

1019}
1020
1021void GitPlugin::stage( const std::vector<std::string>& files ) {
1022 if ( files.empty() )
1023 return;
1024 runAsync(
1025 [this, files]() { return mGit->add( fixFilePaths( files ), mGit->repoPath( files[0] ) ); },
1026 true, false );
1027}
1028
1029void GitPlugin::unstage( const std::vector<std::string>& files ) {
1030 if ( files.empty() )

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
addMethod · 0.45
repoPathMethod · 0.45

Tested by

no test coverage detected