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

Method restore

src/tools/ecode/plugins/git/git.cpp:220–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220Git::Result Git::restore( std::vector<std::string> files, const std::string& projectDir ) {
221 return gitSimple( String::format( "restore -- %s", asList( files ) ), projectDir );
222}
223
224Git::Result Git::restore( const std::string& file, const std::string& projectDir ) {
225 return gitSimple( String::format( "restore \"%s\"", file ), projectDir );

Callers 2

initMethod · 0.45
discardMethod · 0.45

Calls 2

formatFunction · 0.85
asListFunction · 0.85

Tested by

no test coverage detected