lib: Fix a few comments

Closes: #1526
Approved by: cgwalters
This commit is contained in:
Matthew Leeds 2018-03-29 12:44:16 -07:00 committed by Atomic Bot
parent 28c7bc6d0e
commit 005d25cc75
4 changed files with 9 additions and 9 deletions

View File

@ -2214,7 +2214,7 @@ metadata_size_valid (OstreeObjectType objtype,
* @cancellable: Cancellable * @cancellable: Cancellable
* @error: Error * @error: Error
* *
* Store the metadata object @variant. Return the checksum * Store the metadata object @object. Return the checksum
* as @out_csum. * as @out_csum.
* *
* If @expected_checksum is not %NULL, verify it against the * If @expected_checksum is not %NULL, verify it against the

View File

@ -132,8 +132,8 @@ static void resolve_cb (GObject *obj,
* which the result provides. If the result provides the latest commit for a ref * which the result provides. If the result provides the latest commit for a ref
* across all of the results, the checksum will be set. Otherwise, if the * across all of the results, the checksum will be set. Otherwise, if the
* result provides an outdated commit, or doesnt provide a given ref at all, * result provides an outdated commit, or doesnt provide a given ref at all,
* the ref will not be set. Results which provide none of the requested @refs * the checksum will not be set. Results which provide none of the requested
* may be listed with an empty refs map. * @refs may be listed with an empty refs map.
* *
* Pass the results to ostree_repo_pull_from_remotes_async() to pull the given * Pass the results to ostree_repo_pull_from_remotes_async() to pull the given
* @refs from those remotes. * @refs from those remotes.

View File

@ -5235,7 +5235,7 @@ find_remotes_cb (GObject *obj,
for (i = 0; i < results->len; i++) for (i = 0; i < results->len; i++)
{ {
OstreeRepoFinderResult *result = g_ptr_array_index (results, i); OstreeRepoFinderResult *result = g_ptr_array_index (results, i);
g_autoptr(GHashTable) validated_ref_to_checksum = NULL; /* (element-type utf8 utf8) */ g_autoptr(GHashTable) validated_ref_to_checksum = NULL; /* (element-type OstreeCollectionRef utf8) */
gsize j, n_latest_refs; gsize j, n_latest_refs;
/* Previous error processing this result? */ /* Previous error processing this result? */

View File

@ -5311,11 +5311,11 @@ summary_add_ref_entry (OstreeRepo *self,
* `core/commit-update-summary` is set. * `core/commit-update-summary` is set.
* *
* If the `core/collection-id` key is set in the configuration, it will be * If the `core/collection-id` key is set in the configuration, it will be
* included as %OSTREE_SUMMARY_COLLECTION_ID in the summary file. Refs from the * included as %OSTREE_SUMMARY_COLLECTION_ID in the summary file. Refs that
* `refs/mirrors` directory will be included in the generated summary file, * have associated collection IDs will be included in the generated summary
* listed under the %OSTREE_SUMMARY_COLLECTION_MAP key. Collection IDs and refs * file, listed under the %OSTREE_SUMMARY_COLLECTION_MAP key. Collection IDs
* in %OSTREE_SUMMARY_COLLECTION_MAP are guaranteed to be in lexicographic * and refs in %OSTREE_SUMMARY_COLLECTION_MAP are guaranteed to be in
* order. * lexicographic order.
*/ */
gboolean gboolean
ostree_repo_regenerate_summary (OstreeRepo *self, ostree_repo_regenerate_summary (OstreeRepo *self,