Ignore deprecated (and reportedly unsafe) method

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:54 -04:00
1 parent 7ac82e5d1b
commit 2892430fa7
2 files changed
+5 -5

No files matched your search

-4
View File
@@ -117,10 +117,6 @@ impl Repo {
}
}
//pub fn checkout_tree_at<P: IsA<gio::Cancellable>>(&self, options: /*Ignored*/Option<&mut RepoCheckoutOptions>, destination_dfd: i32, destination_path: &str, commit: &str, cancellable: Option<&P>) -> Result<(), Error> {
// unsafe { TODO: call ostree_sys:ostree_repo_checkout_tree_at() }
//}
pub fn commit_transaction<P: IsA<gio::Cancellable>>(&self, cancellable: Option<&P>) -> Result<RepoTransactionStats, Error> {
unsafe {
let mut out_stats = RepoTransactionStats::uninitialized();