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

Method getFiles

src/tools/ecode/plugins/git/gitstatusmodel.cpp:209–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209std::vector<std::string> GitStatusModel::getFiles( const std::string& repo,
210 uint32_t statusType ) const {
211 std::vector<std::string> files;
212 for ( const auto& status : mStatus ) {
213 if ( status.repo == repo ) {
214 for ( const auto& type : status.type ) {
215 if ( static_cast<uint32_t>( type.type ) & statusType ) {
216 for ( const auto& file : type.files )
217 files.push_back( file.file );
218 }
219 }
220 break;
221 }
222 }
223 return files;
224}
225
226} // namespace ecode

Callers 4

supportsLSPMethod · 0.45
supportsLinterMethod · 0.45
buildSidePanelTabMethod · 0.45
supportsFormatterMethod · 0.45

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected