summaryrefslogtreecommitdiff
path: root/apidoc
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2017-08-07 19:52:17 +0100
committerAtomic Bot <atomic-devel@projectatomic.io>2017-08-08 13:59:58 +0000
commitf35b409077dc7881e6e1a8d59bb709226e0d93c6 (patch)
tree438fa8a425cbbfe3a59c86bf82d76de12441191b /apidoc
parent11e165b154bbf35915eaea62bf36e4cd30acb1c1 (diff)
downloadostree-f35b409077dc7881e6e1a8d59bb709226e0d93c6.tar.gz
lib/repo-refs: Add ostree_repo_remote_list_collection_refs() API
This parallels ostree_repo_remote_list_refs(), but returns a map of OstreeCollectionRef → checksum, and includes refs from collection IDs other than the remote repository’s main collection ID. Use this in OstreeRepoFinderConfig to ensure that refs are matched against even if they’re stored in the repository summary file’s collection map, rather than its main ref map. This fixes false negatives when searching for refs in some situations. Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #1058 Approved by: cgwalters
Diffstat (limited to 'apidoc')
-rw-r--r--apidoc/ostree-experimental-sections.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/apidoc/ostree-experimental-sections.txt b/apidoc/ostree-experimental-sections.txt
index a2c2c295..23412dda 100644
--- a/apidoc/ostree-experimental-sections.txt
+++ b/apidoc/ostree-experimental-sections.txt
@@ -82,6 +82,7 @@ ostree_repo_get_collection_id
ostree_repo_set_collection_id
ostree_validate_collection_id
ostree_repo_list_collection_refs
+ostree_repo_remote_list_collection_refs
ostree_repo_set_collection_ref_immediate
ostree_repo_transaction_set_collection_ref
</SECTION>