update result type

This commit is contained in:
Manuel Stühn authored and Colin Walters committed 2022-05-06 12:53:57 -04:00
1 parent f6c1e0cb82
commit 81ea92566f
2 files changed
+24 -11

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ fn list_repo_objects() {
let mut commit_cnt = 0;
let objects = repo.repo.list_objects( ffi::OSTREE_REPO_LIST_OBJECTS_ALL, NONE_CANCELLABLE).expect("List Objects");
for object in objects {
for (object, _items) in objects {
match object.object_type() {
ObjectType::DirTree => { dirtree_cnt += 1; },
ObjectType::DirMeta => { dirmeta_cnt += 1; },