Update base gir files

This commit is contained in:
Felix Krull 2019-05-17 18:54:48 +02:00 committed by Colin Walters
parent c6b0ebaf6e
commit 91df5067a5
22 changed files with 1560 additions and 385 deletions

View File

@ -1,6 +1,6 @@
all: gir/ostree gir/ostree-sys all: gir/ostree gir/ostree-sys
.PHONY: update-gir-files .PHONY: update-gir-files remove-gir-files merge-lgpl-docs
# -- gir generation -- # -- gir generation --

View File

@ -5,6 +5,8 @@ version = "1.0"
target_path = ".." target_path = ".."
doc_target_path = "../target/vendor.md" doc_target_path = "../target/vendor.md"
deprecate_by_min_version = true deprecate_by_min_version = true
single_version_file = true
generate_display_trait = true
girs_dir = "../gir-files" girs_dir = "../gir-files"

File diff suppressed because it is too large Load Diff

View File

@ -2461,7 +2461,9 @@ converts between #GValue and native C types. The GObject
library provides the #GCClosure type for this purpose. Bindings for library provides the #GCClosure type for this purpose. Bindings for
other languages need marshallers which convert between #GValues other languages need marshallers which convert between #GValues
and suitable representations in the runtime of the language in and suitable representations in the runtime of the language in
order to use functions written in that languages as callbacks. order to use functions written in that language as callbacks. Use
g_closure_set_marshal() to set the marshaller on such a custom
closure implementation.
Within GObject, closures play an important role in the Within GObject, closures play an important role in the
implementation of signals. When a signal is registered, the implementation of signals. When a signal is registered, the
@ -2760,7 +2762,7 @@ been invalidated before).</doc>
<doc xml:space="preserve">an array of <doc xml:space="preserve">an array of
#GValues holding the arguments on which to #GValues holding the arguments on which to
invoke the callback of @closure</doc> invoke the callback of @closure</doc>
<array length="1" zero-terminated="0" c:type="GValue*"> <array length="1" zero-terminated="0" c:type="const GValue*">
<type name="Value" c:type="GValue"/> <type name="Value" c:type="GValue"/>
</array> </array>
</parameter> </parameter>
@ -2976,7 +2978,7 @@ closure, then the closure will be destroyed and freed.</doc>
<doc xml:space="preserve">an array of <doc xml:space="preserve">an array of
#GValues holding the arguments on which to invoke the #GValues holding the arguments on which to invoke the
callback of @closure</doc> callback of @closure</doc>
<array length="2" zero-terminated="0" c:type="GValue*"> <array length="2" zero-terminated="0" c:type="const GValue*">
<type name="Value" c:type="GValue"/> <type name="Value" c:type="GValue"/>
</array> </array>
</parameter> </parameter>
@ -3357,7 +3359,7 @@ zeros before this function is called.</doc>
<class name="Object" c:symbol-prefix="object" c:type="GObject" glib:type-name="GObject" glib:get-type="g_object_get_type" glib:type-struct="ObjectClass"> <class name="Object" c:symbol-prefix="object" c:type="GObject" glib:type-name="GObject" glib:get-type="g_object_get_type" glib:type-struct="ObjectClass">
<doc xml:space="preserve">All the fields in the GObject structure are private <doc xml:space="preserve">All the fields in the GObject structure are private
to the #GObject implementation and should never be accessed directly.</doc> to the #GObject implementation and should never be accessed directly.</doc>
<constructor name="new" c:identifier="g_object_new" shadowed-by="new_with_properties" introspectable="0"> <constructor name="new" c:identifier="g_object_new" introspectable="0">
<doc xml:space="preserve">Creates a new instance of a #GObject subtype and sets its properties. <doc xml:space="preserve">Creates a new instance of a #GObject subtype and sets its properties.
Construction parameters (see #G_PARAM_CONSTRUCT, #G_PARAM_CONSTRUCT_ONLY) Construction parameters (see #G_PARAM_CONSTRUCT, #G_PARAM_CONSTRUCT_ONLY)
@ -3408,7 +3410,7 @@ which are not explicitly specified are set to their default values.</doc>
</parameter> </parameter>
</parameters> </parameters>
</constructor> </constructor>
<constructor name="new_with_properties" c:identifier="g_object_new_with_properties" shadows="new" version="2.54"> <constructor name="new_with_properties" c:identifier="g_object_new_with_properties" version="2.54" introspectable="0">
<doc xml:space="preserve">Creates a new instance of a #GObject subtype and sets its properties using <doc xml:space="preserve">Creates a new instance of a #GObject subtype and sets its properties using
the provided arrays. Both arrays must have exactly @n_properties elements, the provided arrays. Both arrays must have exactly @n_properties elements,
and the names and values correspond by index. and the names and values correspond by index.
@ -3432,7 +3434,7 @@ which are not explicitly specified are set to their default values.</doc>
<parameter name="names" transfer-ownership="none"> <parameter name="names" transfer-ownership="none">
<doc xml:space="preserve">the names of each property to be set</doc> <doc xml:space="preserve">the names of each property to be set</doc>
<array length="1" zero-terminated="0" c:type="const char**"> <array length="1" zero-terminated="0" c:type="const char**">
<type name="utf8" c:type="char"/> <type name="utf8" c:type="char*"/>
</array> </array>
</parameter> </parameter>
<parameter name="values" transfer-ownership="none"> <parameter name="values" transfer-ownership="none">
@ -4267,7 +4269,7 @@ properties are passed in.</doc>
<parameter name="names" transfer-ownership="none"> <parameter name="names" transfer-ownership="none">
<doc xml:space="preserve">the names of each property to get</doc> <doc xml:space="preserve">the names of each property to get</doc>
<array length="0" zero-terminated="0" c:type="const gchar**"> <array length="0" zero-terminated="0" c:type="const gchar**">
<type name="utf8" c:type="gchar"/> <type name="utf8" c:type="gchar*"/>
</array> </array>
</parameter> </parameter>
<parameter name="values" transfer-ownership="none"> <parameter name="values" transfer-ownership="none">
@ -4753,7 +4755,7 @@ properties are passed in.</doc>
<parameter name="names" transfer-ownership="none"> <parameter name="names" transfer-ownership="none">
<doc xml:space="preserve">the names of each property to be set</doc> <doc xml:space="preserve">the names of each property to be set</doc>
<array length="0" zero-terminated="0" c:type="const gchar**"> <array length="0" zero-terminated="0" c:type="const gchar**">
<type name="utf8" c:type="gchar"/> <type name="utf8" c:type="gchar*"/>
</array> </array>
</parameter> </parameter>
<parameter name="values" transfer-ownership="none"> <parameter name="values" transfer-ownership="none">
@ -4955,11 +4957,17 @@ Use #GWeakRef if thread-safety is required.</doc>
<type name="GLib.Data" c:type="GData*"/> <type name="GLib.Data" c:type="GData*"/>
</field> </field>
<glib:signal name="notify" when="first" no-recurse="1" detailed="1" action="1" no-hooks="1"> <glib:signal name="notify" when="first" no-recurse="1" detailed="1" action="1" no-hooks="1">
<doc xml:space="preserve">The notify signal is emitted on an object when one of its <doc xml:space="preserve">The notify signal is emitted on an object when one of its properties has
properties has been changed. Note that getting this signal its value set through g_object_set_property(), g_object_set(), et al.
doesn't guarantee that the value of the property has actually
changed, it may also be emitted when the setter for the property Note that getting this signal doesn&#x2019;t itself guarantee that the value of
is called to reinstate the previous value. the property has actually changed. When it is emitted is determined by the
derived GObject class. If the implementor did not create the property with
%G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results
in ::notify being emitted, even if the new value is the same as the old.
If they did pass %G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only
when they explicitly call g_object_notify() or g_object_notify_by_pspec(),
and common practice is to do that only when the value has actually changed.
This signal is typically used to obtain change notification for a This signal is typically used to obtain change notification for a
single property, by specifying the property name as a detail in the single property, by specifying the property name as a detail in the
@ -4970,7 +4978,7 @@ g_signal_connect (text_view-&gt;buffer, "notify::paste-target-list",
text_view) text_view)
]| ]|
It is important to note that you must use It is important to note that you must use
[canonical][canonical-parameter-name] parameter names as [canonical parameter names][canonical-parameter-names] as
detail strings for the notify signal.</doc> detail strings for the notify signal.</doc>
<return-value transfer-ownership="none"> <return-value transfer-ownership="none">
<type name="none" c:type="void"/> <type name="none" c:type="void"/>
@ -6535,7 +6543,13 @@ g_param_type_register_static().</doc>
</field> </field>
</class> </class>
<class name="ParamSpecVariant" c:symbol-prefix="param_spec_variant" c:type="GParamSpecVariant" version="2.26" parent="ParamSpec" glib:type-name="GParamVariant" glib:get-type="intern" glib:fundamental="1"> <class name="ParamSpecVariant" c:symbol-prefix="param_spec_variant" c:type="GParamSpecVariant" version="2.26" parent="ParamSpec" glib:type-name="GParamVariant" glib:get-type="intern" glib:fundamental="1">
<doc xml:space="preserve">A #GParamSpec derived structure that contains the meta data for #GVariant properties.</doc> <doc xml:space="preserve">A #GParamSpec derived structure that contains the meta data for #GVariant properties.
When comparing values with g_param_values_cmp(), scalar values with the same
type will be compared with g_variant_compare(). Other non-%NULL variants will
be checked for equality with g_variant_equal(), and their sort order is
otherwise undefined. %NULL is ordered before non-%NULL variants. Two %NULL
values compare equal.</doc>
<field name="parent_instance"> <field name="parent_instance">
<doc xml:space="preserve">private #GParamSpec portion</doc> <doc xml:space="preserve">private #GParamSpec portion</doc>
<type name="ParamSpec" c:type="GParamSpec"/> <type name="ParamSpec" c:type="GParamSpec"/>
@ -6632,7 +6646,7 @@ You may not attach these to signals created with the #G_SIGNAL_NO_HOOKS flag.</d
<parameter name="param_values" transfer-ownership="none"> <parameter name="param_values" transfer-ownership="none">
<doc xml:space="preserve">the instance on which <doc xml:space="preserve">the instance on which
the signal was emitted, followed by the parameters of the emission.</doc> the signal was emitted, followed by the parameters of the emission.</doc>
<array length="1" zero-terminated="0" c:type="GValue*"> <array length="1" zero-terminated="0" c:type="const GValue*">
<type name="Value" c:type="GValue"/> <type name="Value" c:type="GValue"/>
</array> </array>
</parameter> </parameter>
@ -6762,7 +6776,7 @@ filled in by the g_signal_query() function.</doc>
[param_types param_names,] [param_types param_names,]
gpointer data2); gpointer data2);
]|</doc> ]|</doc>
<array length="5" zero-terminated="0" c:type="GType*"> <array length="5" zero-terminated="0" c:type="const GType*">
<type name="GType" c:type="GType"/> <type name="GType" c:type="GType"/>
</array> </array>
</field> </field>
@ -6855,7 +6869,7 @@ of a toggle reference changes. See g_object_add_toggle_ref().</doc>
<field name="g_type" readable="0" private="1"> <field name="g_type" readable="0" private="1">
<type name="GType" c:type="GType"/> <type name="GType" c:type="GType"/>
</field> </field>
<method name="add_private" c:identifier="g_type_class_add_private" version="2.4"> <method name="add_private" c:identifier="g_type_class_add_private" version="2.4" deprecated="1" deprecated-version="2.58">
<doc xml:space="preserve">Registers a private structure for an instantiatable type. <doc xml:space="preserve">Registers a private structure for an instantiatable type.
When an object is allocated, the private structures for When an object is allocated, the private structures for
@ -6918,6 +6932,8 @@ my_object_get_some_field (MyObject *my_object)
return priv-&gt;some_field; return priv-&gt;some_field;
} }
]|</doc> ]|</doc>
<doc-deprecated xml:space="preserve">Use the G_ADD_PRIVATE() macro with the `G_DEFINE_*`
family of macros to add instance private data to a type</doc-deprecated>
<return-value transfer-ownership="none"> <return-value transfer-ownership="none">
<type name="none" c:type="void"/> <type name="none" c:type="void"/>
</return-value> </return-value>
@ -8526,7 +8542,7 @@ Get the contents of a %G_TYPE_CHAR #GValue.</doc>
</method> </method>
<method name="get_variant" c:identifier="g_value_get_variant" version="2.26"> <method name="get_variant" c:identifier="g_value_get_variant" version="2.26">
<doc xml:space="preserve">Get the contents of a variant #GValue.</doc> <doc xml:space="preserve">Get the contents of a variant #GValue.</doc>
<return-value transfer-ownership="full" nullable="1"> <return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">variant contents of @value (may be %NULL)</doc> <doc xml:space="preserve">variant contents of @value (may be %NULL)</doc>
<type name="GLib.Variant" c:type="GVariant*"/> <type name="GLib.Variant" c:type="GVariant*"/>
</return-value> </return-value>
@ -10703,7 +10719,7 @@ pointer casts.</doc>
<parameters> <parameters>
<parameter name="object_ptr" transfer-ownership="none"> <parameter name="object_ptr" transfer-ownership="none">
<doc xml:space="preserve">a pointer to a #GObject reference</doc> <doc xml:space="preserve">a pointer to a #GObject reference</doc>
<type name="Object" c:type="volatile GObject**"/> <type name="Object" c:type="GObject**"/>
</parameter> </parameter>
</parameters> </parameters>
</function> </function>
@ -12058,7 +12074,7 @@ g_signal_override_class_handler().</doc>
<doc xml:space="preserve">the argument list of the signal emission. <doc xml:space="preserve">the argument list of the signal emission.
The first element in the array is a #GValue for the instance the signal The first element in the array is a #GValue for the instance the signal
is being emitted on. The rest are any arguments to be passed to the signal.</doc> is being emitted on. The rest are any arguments to be passed to the signal.</doc>
<array zero-terminated="0" c:type="GValue*"> <array zero-terminated="0" c:type="const GValue*">
<type name="Value" c:type="GValue"/> <type name="Value" c:type="GValue"/>
</array> </array>
</parameter> </parameter>
@ -12317,7 +12333,7 @@ connected, in contrast to g_signal_emit() and g_signal_emit_valist().</doc>
<doc xml:space="preserve">argument list for the signal emission. <doc xml:space="preserve">argument list for the signal emission.
The first element in the array is a #GValue for the instance the signal The first element in the array is a #GValue for the instance the signal
is being emitted on. The rest are any arguments to be passed to the signal.</doc> is being emitted on. The rest are any arguments to be passed to the signal.</doc>
<array zero-terminated="0" c:type="GValue*"> <array zero-terminated="0" c:type="const GValue*">
<type name="Value" c:type="GValue"/> <type name="Value" c:type="GValue"/>
</array> </array>
</parameter> </parameter>
@ -12804,7 +12820,7 @@ the marshaller for this signal.</doc>
<doc xml:space="preserve">Creates a new signal. (This is usually done in the class initializer.) <doc xml:space="preserve">Creates a new signal. (This is usually done in the class initializer.)
This is a variant of g_signal_new() that takes a C callback instead This is a variant of g_signal_new() that takes a C callback instead
off a class offset for the signal's class handler. This function of a class offset for the signal's class handler. This function
doesn't need a function pointer exposed in the class structure of doesn't need a function pointer exposed in the class structure of
an object definition, instead the function pointer is passed an object definition, instead the function pointer is passed
directly and can be overriden by derived classes with directly and can be overriden by derived classes with

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use Error; use Error;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use Error; use Error;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
mod async_progress; mod async_progress;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use Error; use Error;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use AsyncProgress; use AsyncProgress;
@ -94,11 +94,11 @@ impl Repo {
//} //}
//#[cfg(any(feature = "v2018_5", feature = "dox"))] //#[cfg(any(feature = "v2018_5", feature = "dox"))]
//pub fn traverse_new_parents() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 181 }/TypeId { ns_id: 2, id: 181 } { //pub fn traverse_new_parents() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 182 }/TypeId { ns_id: 2, id: 182 } {
// unsafe { TODO: call ffi::ostree_repo_traverse_new_parents() } // unsafe { TODO: call ffi::ostree_repo_traverse_new_parents() }
//} //}
//pub fn traverse_new_reachable() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 181 }/TypeId { ns_id: 2, id: 181 } { //pub fn traverse_new_reachable() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 182 }/TypeId { ns_id: 2, id: 182 } {
// unsafe { TODO: call ffi::ostree_repo_traverse_new_reachable() } // unsafe { TODO: call ffi::ostree_repo_traverse_new_reachable() }
//} //}
@ -180,9 +180,9 @@ pub trait RepoExt {
//#[cfg(any(feature = "v2018_6", feature = "dox"))] //#[cfg(any(feature = "v2018_6", feature = "dox"))]
//fn list_collection_refs<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b gio::Cancellable>>>(&self, match_collection_id: P, out_all_refs: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 1, id: 0 }/TypeId { ns_id: 0, id: 28 }, flags: RepoListRefsExtFlags, cancellable: Q) -> Result<(), Error>; //fn list_collection_refs<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b gio::Cancellable>>>(&self, match_collection_id: P, out_all_refs: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 1, id: 0 }/TypeId { ns_id: 0, id: 28 }, flags: RepoListRefsExtFlags, cancellable: Q) -> Result<(), Error>;
//fn list_commit_objects_starting_with<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, start: &str, out_commits: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 181 }/TypeId { ns_id: 2, id: 181 }, cancellable: P) -> Result<(), Error>; //fn list_commit_objects_starting_with<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, start: &str, out_commits: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 182 }/TypeId { ns_id: 2, id: 182 }, cancellable: P) -> Result<(), Error>;
//fn list_objects<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, flags: /*Ignored*/RepoListObjectsFlags, out_objects: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 181 }/TypeId { ns_id: 2, id: 181 }, cancellable: P) -> Result<(), Error>; //fn list_objects<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, flags: /*Ignored*/RepoListObjectsFlags, out_objects: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 182 }/TypeId { ns_id: 2, id: 182 }, cancellable: P) -> Result<(), Error>;
//fn list_refs<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b gio::Cancellable>>>(&self, refspec_prefix: P, out_all_refs: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 0, id: 28 }, cancellable: Q) -> Result<(), Error>; //fn list_refs<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b gio::Cancellable>>>(&self, refspec_prefix: P, out_all_refs: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 0, id: 28 }, cancellable: Q) -> Result<(), Error>;
@ -294,7 +294,7 @@ pub trait RepoExt {
fn transaction_set_refspec<'a, P: Into<Option<&'a str>>>(&self, refspec: &str, checksum: P); fn transaction_set_refspec<'a, P: Into<Option<&'a str>>>(&self, refspec: &str, checksum: P);
//fn traverse_commit<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, commit_checksum: &str, maxdepth: i32, out_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 181 }/TypeId { ns_id: 2, id: 181 }, cancellable: P) -> Result<(), Error>; //fn traverse_commit<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, commit_checksum: &str, maxdepth: i32, out_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 182 }/TypeId { ns_id: 2, id: 182 }, cancellable: P) -> Result<(), Error>;
//fn traverse_commit_union<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, commit_checksum: &str, maxdepth: i32, inout_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 25 }/TypeId { ns_id: 0, id: 25 }, cancellable: P) -> Result<(), Error>; //fn traverse_commit_union<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, commit_checksum: &str, maxdepth: i32, inout_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 25 }/TypeId { ns_id: 0, id: 25 }, cancellable: P) -> Result<(), Error>;
@ -302,7 +302,7 @@ pub trait RepoExt {
//fn traverse_commit_union_with_parents<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, commit_checksum: &str, maxdepth: i32, inout_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 25 }/TypeId { ns_id: 0, id: 25 }, inout_parents: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 25 }/TypeId { ns_id: 0, id: 25 }, cancellable: P) -> Result<(), Error>; //fn traverse_commit_union_with_parents<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, commit_checksum: &str, maxdepth: i32, inout_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 25 }/TypeId { ns_id: 0, id: 25 }, inout_parents: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 25 }/TypeId { ns_id: 0, id: 25 }, cancellable: P) -> Result<(), Error>;
//#[cfg(any(feature = "v2018_6", feature = "dox"))] //#[cfg(any(feature = "v2018_6", feature = "dox"))]
//fn traverse_reachable_refs<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, depth: u32, reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 181 }/TypeId { ns_id: 2, id: 181 }, cancellable: P) -> Result<(), Error>; //fn traverse_reachable_refs<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, depth: u32, reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 182 }/TypeId { ns_id: 2, id: 182 }, cancellable: P) -> Result<(), Error>;
fn verify_commit<'a, 'b, 'c, P: IsA<gio::File> + 'a, Q: Into<Option<&'a P>>, R: IsA<gio::File> + 'b, S: Into<Option<&'b R>>, T: Into<Option<&'c gio::Cancellable>>>(&self, commit_checksum: &str, keyringdir: Q, extra_keyring: S, cancellable: T) -> Result<(), Error>; fn verify_commit<'a, 'b, 'c, P: IsA<gio::File> + 'a, Q: Into<Option<&'a P>>, R: IsA<gio::File> + 'b, S: Into<Option<&'b R>>, T: Into<Option<&'c gio::Cancellable>>>(&self, commit_checksum: &str, keyringdir: Q, extra_keyring: S, cancellable: T) -> Result<(), Error>;
@ -614,11 +614,11 @@ impl<O: IsA<Repo> + IsA<glib::object::Object>> RepoExt for O {
// unsafe { TODO: call ffi::ostree_repo_list_collection_refs() } // unsafe { TODO: call ffi::ostree_repo_list_collection_refs() }
//} //}
//fn list_commit_objects_starting_with<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, start: &str, out_commits: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 181 }/TypeId { ns_id: 2, id: 181 }, cancellable: P) -> Result<(), Error> { //fn list_commit_objects_starting_with<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, start: &str, out_commits: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 182 }/TypeId { ns_id: 2, id: 182 }, cancellable: P) -> Result<(), Error> {
// unsafe { TODO: call ffi::ostree_repo_list_commit_objects_starting_with() } // unsafe { TODO: call ffi::ostree_repo_list_commit_objects_starting_with() }
//} //}
//fn list_objects<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, flags: /*Ignored*/RepoListObjectsFlags, out_objects: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 181 }/TypeId { ns_id: 2, id: 181 }, cancellable: P) -> Result<(), Error> { //fn list_objects<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, flags: /*Ignored*/RepoListObjectsFlags, out_objects: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 182 }/TypeId { ns_id: 2, id: 182 }, cancellable: P) -> Result<(), Error> {
// unsafe { TODO: call ffi::ostree_repo_list_objects() } // unsafe { TODO: call ffi::ostree_repo_list_objects() }
//} //}
@ -1137,7 +1137,7 @@ impl<O: IsA<Repo> + IsA<glib::object::Object>> RepoExt for O {
} }
} }
//fn traverse_commit<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, commit_checksum: &str, maxdepth: i32, out_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 181 }/TypeId { ns_id: 2, id: 181 }, cancellable: P) -> Result<(), Error> { //fn traverse_commit<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, commit_checksum: &str, maxdepth: i32, out_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 182 }/TypeId { ns_id: 2, id: 182 }, cancellable: P) -> Result<(), Error> {
// unsafe { TODO: call ffi::ostree_repo_traverse_commit() } // unsafe { TODO: call ffi::ostree_repo_traverse_commit() }
//} //}
@ -1151,7 +1151,7 @@ impl<O: IsA<Repo> + IsA<glib::object::Object>> RepoExt for O {
//} //}
//#[cfg(any(feature = "v2018_6", feature = "dox"))] //#[cfg(any(feature = "v2018_6", feature = "dox"))]
//fn traverse_reachable_refs<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, depth: u32, reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 181 }/TypeId { ns_id: 2, id: 181 }, cancellable: P) -> Result<(), Error> { //fn traverse_reachable_refs<'a, P: Into<Option<&'a gio::Cancellable>>>(&self, depth: u32, reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 182 }/TypeId { ns_id: 2, id: 182 }, cancellable: P) -> Result<(), Error> {
// unsafe { TODO: call ffi::ostree_repo_traverse_reachable_refs() } // unsafe { TODO: call ffi::ostree_repo_traverse_reachable_refs() }
//} //}

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
#[cfg(any(feature = "v2017_13", feature = "dox"))] #[cfg(any(feature = "v2017_13", feature = "dox"))]

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use Error; use Error;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use ffi; use ffi;

View File

@ -1,5 +1,5 @@
// This file was generated by gir (https://github.com/gtk-rs/gir @ ffda6f9) // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???) // from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT // DO NOT EDIT
use Error; use Error;

View File

@ -0,0 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ ffda6f9)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)