lib: Add a public helper method for pruning to find all ref'd commits

Prep for reworking how we do sysroot cleanup.  We're going to
start doing more lowlevel pruning work there, and I wanted to avoid
duplicating the ref enumeration.

Closes: #1566
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2018-05-24 12:56:11 +00:00
1 parent ce2995e1dc
commit 371081d123
4 files changed
+69 -28

No files matched your search

+1
View File
@@ -413,6 +413,7 @@ ostree_repo_commit_traverse_iter_next
OstreeRepoPruneFlags
ostree_repo_prune
ostree_repo_prune_static_deltas
ostree_repo_traverse_reachable_refs
ostree_repo_prune_from_reachable
OstreeRepoPullFlags
ostree_repo_pull