Exemplo n.º 1
0
 public ChangeEntry(string path = default, string originalPath = default, ChangeEntryStatus status = default, bool staged = default, bool unmerged = default, object tag = default)
 {
     Path         = path;
     OriginalPath = originalPath;
     Status       = status;
     Staged       = staged;
     Unmerged     = unmerged;
     Tag          = tag;
 }
Exemplo n.º 2
0
 static void AddEntry(ICollection <IChangeEntry> list, string pathTag, ChangeEntryStatus status, bool staged, bool unmerged = false)
 {
     list.Add(new ChangeEntry(pathTag, $"Original{pathTag}", status, staged, unmerged));
 }