core: Finish making object path API private

This allows us to more easily change the internals later.
This commit is contained in:
Colin Walters committed 2013-07-31 03:48:33 -04:00
1 parent 0dec1b287c
commit 9e480cd6a9
8 files changed
+186 -122

No files matched your search

+13 -4
View File
@@ -65,10 +65,6 @@ gboolean ostree_repo_write_config (OstreeRepo *self,
GKeyFile *new_config,
GError **error);
GFile * ostree_repo_get_object_path (OstreeRepo *self,
const char *checksum,
OstreeObjectType type);
gboolean ostree_repo_prepare_transaction (OstreeRepo *self,
gboolean enable_commit_hardlink_scan,
gboolean *out_transaction_resume,
@@ -204,6 +200,19 @@ gboolean ostree_repo_load_file (OstreeRepo *self,
GCancellable *cancellable,
GError **error);
gboolean ostree_repo_query_object_storage_size (OstreeRepo *self,
OstreeObjectType objtype,
const char *sha256,
gsize *out_size,
GCancellable *cancellable,
GError **error);
gboolean ostree_repo_delete_object (OstreeRepo *self,
OstreeObjectType objtype,
const char *sha256,
GCancellable *cancellable,
GError **error);
typedef enum {
OSTREE_REPO_COMMIT_FILTER_ALLOW,
OSTREE_REPO_COMMIT_FILTER_SKIP