update result type
This commit is contained in:
1 parent
f6c1e0cb82
commit
81ea92566f
2 files changed
+24
-11
No files matched your search
@@ -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; },
|
||||
|
||||
Reference in new issue
Block a user