MCPcopy Create free account
hub / github.com/KDE/kdevelop / lsfilesToState

Function lsfilesToState

plugins/git/gitplugin.cpp:1363–1376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1361}
1362
1363static VcsStatusInfo::State lsfilesToState(char id)
1364{
1365 switch(id) {
1366 case 'H': return VcsStatusInfo::ItemUpToDate; //Cached
1367 case 'S': return VcsStatusInfo::ItemUpToDate; //Skip work tree
1368 case 'M': return VcsStatusInfo::ItemHasConflicts; //unmerged
1369 case 'R': return VcsStatusInfo::ItemDeleted; //removed/deleted
1370 case 'C': return VcsStatusInfo::ItemModified; //modified/changed
1371 case 'K': return VcsStatusInfo::ItemDeleted; //to be killed
1372 case '?': return VcsStatusInfo::ItemUnknown; //other
1373 }
1374 Q_ASSERT(false);
1375 return VcsStatusInfo::ItemUnknown;
1376}
1377
1378void GitPlugin::parseGitStatusOutput_old(DVcsJob* job)
1379{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected