mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-27 01:57:49 +03:00
Ignore deprecated (and reportedly unsafe) method
This commit is contained in:
parent
7ac82e5d1b
commit
2892430fa7
@ -49,7 +49,6 @@ generate = [
|
|||||||
|
|
||||||
#"OSTree.RepoPruneOptions",
|
#"OSTree.RepoPruneOptions",
|
||||||
#"OSTree.RepoExportArchiveOptions",
|
#"OSTree.RepoExportArchiveOptions",
|
||||||
#"OSTree.RepoCheckoutOptions",
|
|
||||||
#"OSTree.RepoCheckoutAtOptions",
|
#"OSTree.RepoCheckoutAtOptions",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -90,6 +89,11 @@ status = "generate"
|
|||||||
pattern = "write_metadata_async|write_content_async|pull_from_remotes_async|find_remotes_async"
|
pattern = "write_metadata_async|write_content_async|pull_from_remotes_async|find_remotes_async"
|
||||||
ignore = true
|
ignore = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
# this is deprecated and supposedly unsafe for GI
|
||||||
|
name = "checkout_tree_at"
|
||||||
|
ignore = true
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "OSTree.RepoFinderResult"
|
name = "OSTree.RepoFinderResult"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
@ -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> {
|
pub fn commit_transaction<P: IsA<gio::Cancellable>>(&self, cancellable: Option<&P>) -> Result<RepoTransactionStats, Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut out_stats = RepoTransactionStats::uninitialized();
|
let mut out_stats = RepoTransactionStats::uninitialized();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user