anchor.diff:  
   library git.commands.diff;
   
  +import 'dart:async';
  +
   import '../object.dart';
  +import '../objectstore.dart';
   
   class DiffEntryType {
     static const String ADDED = "ADDED";
  
positive.code:     }
      return treeDiff;
    }
  }
  
negative.code: }
  
  class TreeDiffResult {
    Map<String, DiffEntry> entries = {};
  
    List<DiffEntry> getAddedEntries() => _getEntriesForType(DiffEntryType.ADDED);
    List<DiffEntry> getRemovedEntries() => _getEntriesForType(DiffEntryType.REMOVED);
    List<DiffEntry> getModifiedEntries() => _getEntriesForType(DiffEntryType.MODIFIED);
  
    List<DiffEntry> _getEntriesForType(String type)
        => entries.values.where((entry) => entry.type == type).toList();
  
    void addEntry(DiffEntry diffEntry) {
      entries[diffEntry.path] = diffEntry;
    }
  
    void removeEntry(DiffEntry diffEntry) {
       entries.remove(diffEntry.path);
    }
  
    void addAll(List<DiffEntry> diffEntries) {
      diffEntries.forEach((diffEntry) {
        entries[diffEntry.path] = diffEntry;
      });
    }
  
    void removeAll(List<DiffEntry> diffEntries) {
      diffEntries.forEach((diffEntry) {
        entries.remove(diffEntry.path);
      });
    }
  
    void clear() {
      entries.clear();
    }
  }
  
  