lib/repo: Add collection ID support to OstreeRepo

Add {get,set}_collection_id() methods to OstreeRepo and some documentation
about the concept of a collection ID which globally identifies an
upstream repository. See the documentation for more details.

This will be used in future commits. For now, the new API is marked as
experimental (--enable-experimental-api).

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Closes: #924
Approved by: cgwalters
This commit is contained in:
Philip Withnall authored and Atomic Bot committed 2017-06-26 15:56:07 +00:00
1 parent 0a20e7d43c
commit 4de736fdfa
5 files changed
+109

No files matched your search

+2
View File
@@ -45,5 +45,7 @@ global:
ostree_collection_ref_get_type;
ostree_collection_ref_hash;
ostree_collection_ref_new;
ostree_repo_get_collection_id;
ostree_repo_set_collection_id;
ostree_validate_collection_id;
} LIBOSTREE_2017.7_EXPERIMENTAL;