libostree: Move prune into OstreeRepo namespace
More library work.
This commit is contained in:
1 parent
2aa0251b1b
commit
5dd0d5da40
8 files changed
+41
-73
No files matched your search
@@ -332,6 +332,20 @@ gboolean ostree_repo_traverse_commit (OstreeRepo *repo,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
typedef enum {
|
||||
OSTREE_REPO_PRUNE_FLAGS_NONE,
|
||||
OSTREE_REPO_PRUNE_FLAGS_NO_PRUNE,
|
||||
OSTREE_REPO_PRUNE_FLAGS_REFS_ONLY
|
||||
} OstreeRepoPruneFlags;
|
||||
|
||||
gboolean ostree_repo_prune (OstreeRepo *repo,
|
||||
OstreeRepoPruneFlags flags,
|
||||
gint depth,
|
||||
gint *out_objects_total,
|
||||
gint *out_objects_pruned,
|
||||
guint64 *out_pruned_object_size_total,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in new issue
Block a user