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

Function actionsFromString

plugins/git/gitplugin.cpp:1272–1281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1270}
1271
1272VcsItemEvent::Actions actionsFromString(char c)
1273{
1274 switch(c) {
1275 case 'A': return VcsItemEvent::Added;
1276 case 'D': return VcsItemEvent::Deleted;
1277 case 'R': return VcsItemEvent::Replaced;
1278 case 'M': return VcsItemEvent::Modified;
1279 }
1280 return VcsItemEvent::Modified;
1281}
1282
1283void GitPlugin::parseGitLogOutput(DVcsJob * job)
1284{

Callers 1

parseGitLogOutputMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected