getAll method
Implementation
Future<Iterable<GitObject>> getAll() async {
var objects = <GitObject>[];
for (var i = 0; i < idx.entries.length; i++) {
var entry = idx.entries[i];
var obj = await _getObject(entry.offset);
if (obj == null) {
continue;
}
assert(obj.hash == entry.hash);
objects.add(obj);
}
return objects;
}