rust: regenerate bindings after latest release (2022.6)
authorLuca BRUNO <luca.bruno@coreos.com>
Mon, 24 Oct 2022 15:23:47 +0000 (15:23 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Wed, 26 Oct 2022 09:26:54 +0000 (09:26 +0000)
Cargo.toml
rust-bindings/src/auto/repo.rs
rust-bindings/src/auto/repo_finder_result.rs
rust-bindings/src/auto/sysroot.rs
rust-bindings/src/auto/versions.txt
rust-bindings/sys/Cargo.toml
rust-bindings/sys/src/auto/versions.txt
rust-bindings/sys/src/lib.rs

index 4b865f2e03c29a9134d3c1d9fb63109acffc132a..662de1cddad0565fb1e3efb86e956f573846b92f 100644 (file)
@@ -101,3 +101,4 @@ v2021_3 = ["v2021_2", "ffi/v2021_3"]
 v2021_4 = ["v2021_3", "ffi/v2021_4"]
 v2021_5 = ["v2021_4", "ffi/v2021_5"]
 v2022_5 = ["v2021_5", "ffi/v2022_5"]
+v2022_6 = ["v2022_5", "ffi/v2022_6"]
index 4bafe755001a395da66f08821b16234ce648c655..56a39c16ba4de64d11fd0737770d17c5f2e80346 100644 (file)
@@ -428,11 +428,6 @@ impl Repo {
     //    unsafe { TODO: call ffi:ostree_repo_list_collection_refs() }
     //}
 
-    //#[doc(alias = "ostree_repo_list_commit_objects_starting_with")]
-    //pub fn list_commit_objects_starting_with<P: IsA<gio::Cancellable>>(&self, start: &str, out_commits: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 203 }/TypeId { ns_id: 2, id: 203 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
-    //    unsafe { TODO: call ffi:ostree_repo_list_commit_objects_starting_with() }
-    //}
-
     //#[doc(alias = "ostree_repo_list_objects")]
     //pub fn list_objects<P: IsA<gio::Cancellable>>(&self, flags: RepoListObjectsFlags, out_objects: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 203 }/TypeId { ns_id: 2, id: 203 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
     //    unsafe { TODO: call ffi:ostree_repo_list_objects() }
index 702ec52c924d89f5bdd3f37e3ca8886e0038e0f8..b6850ca7d7596a222f14f1a4ed5091b3f4c6247a 100644 (file)
@@ -3,7 +3,6 @@
 // DO NOT EDIT
 
 use std::cmp;
-use glib::translate::*;
 
 glib::wrapper! {
     #[derive(Debug, Hash)]
index a88b3f66a5b70d457662f4b7cbf0852893a9e7f4..ecec2328d31e12f397d647d7c1a719fa92ea94d7 100644 (file)
@@ -110,7 +110,7 @@ impl Sysroot {
     }
 
     #[doc(alias = "ostree_sysroot_deployment_set_kargs_in_place")]
-    pub fn deployment_set_kargs_in_place<P: IsA<gio::Cancellable>>(&self, deployment: &Deployment, kargs_str: &str, cancellable: Option<&P>) -> Result<(), glib::Error> {
+    pub fn deployment_set_kargs_in_place<P: IsA<gio::Cancellable>>(&self, deployment: &Deployment, kargs_str: Option<&str>, cancellable: Option<&P>) -> Result<(), glib::Error> {
         unsafe {
             let mut error = ptr::null_mut();
             let _ = ffi::ostree_sysroot_deployment_set_kargs_in_place(self.to_glib_none().0, deployment.to_glib_none().0, kargs_str.to_glib_none().0, cancellable.map(|p| p.as_ref()).to_glib_none().0, &mut error);
index f22d532f8455d3a7a1e2678a96d39f3090d47645..57f26297cb780acb4fbeb67356ad6290633b4df5 100644 (file)
@@ -1,2 +1,2 @@
 Generated by gir (https://github.com/gtk-rs/gir @ e8f82cf6)
-from gir-files (@ 1d478ced)
+from gir-files (@ a19cc348)
index 5145ab87f158b1985b34e67e2c9929c7051c9656..9cae2512fc92269ae8c2d0e8b1bcf131d05c0fa0 100644 (file)
@@ -57,6 +57,7 @@ v2021_4 = ["v2021_3"]
 v2021_5 = ["v2021_4"]
 v2022_2 = ["v2021_5"]
 v2022_5 = ["v2022_2"]
+v2022_6 = ["v2022_5"]
 
 [lib]
 name = "ostree_sys"
@@ -211,3 +212,6 @@ version = "2022.2"
 
 [package.metadata.system-deps.ostree_1.v2022_5]
 version = "2022.5"
+
+[package.metadata.system-deps.ostree_1.v2022_6]
+version = "2022.6"
index f22d532f8455d3a7a1e2678a96d39f3090d47645..57f26297cb780acb4fbeb67356ad6290633b4df5 100644 (file)
@@ -1,2 +1,2 @@
 Generated by gir (https://github.com/gtk-rs/gir @ e8f82cf6)
-from gir-files (@ 1d478ced)
+from gir-files (@ a19cc348)
index 837c60b0661611560c0c073e84643a956b15c939..84c91a5862eae3cf310a318de840dbc4f274f581 100644 (file)
@@ -525,7 +525,8 @@ pub struct OstreeRepoCheckoutAtOptions {
     pub force_copy: gboolean,
     pub bareuseronly_dirs: gboolean,
     pub force_copy_zerosized: gboolean,
-    pub unused_bools: [gboolean; 4],
+    pub process_passthrough_whiteouts: gboolean,
+    pub unused_bools: [gboolean; 3],
     pub subpath: *const c_char,
     pub devino_to_csum_cache: *mut OstreeRepoDevInoCache,
     pub unused_ints: [c_int; 6],
@@ -548,6 +549,10 @@ impl ::std::fmt::Debug for OstreeRepoCheckoutAtOptions {
             .field("force_copy", &self.force_copy)
             .field("bareuseronly_dirs", &self.bareuseronly_dirs)
             .field("force_copy_zerosized", &self.force_copy_zerosized)
+            .field(
+                "process_passthrough_whiteouts",
+                &self.process_passthrough_whiteouts,
+            )
             .field("unused_bools", &self.unused_bools)
             .field("subpath", &self.subpath)
             .field("devino_to_csum_cache", &self.devino_to_csum_cache)