core: Add API to enumerate all refs

This commit is contained in:
Colin Walters committed 2012-02-27 05:58:42 -05:00
1 parent 6ff07e0b3e
commit d3a73225b0
4 files changed
+91 -80

No files matched your search

+5
View File
@@ -130,6 +130,11 @@ gboolean ostree_repo_write_ref (OstreeRepo *self,
const char *rev,
GError **error);
gboolean ostree_repo_list_all_refs (OstreeRepo *repo,
GHashTable **out_all_refs,
GCancellable *cancellable,
GError **error);
gboolean ostree_repo_load_variant (OstreeRepo *self,
OstreeObjectType expected_type,
const char *sha256,