repo: Move commit code to another file

ostree-repo.c is a bit too big, and most of the commit code is
fairly standalone.

https://bugzilla.gnome.org/show_bug.cgi?id=707644
This commit is contained in:
Jasper St. Pierre 2013-09-05 15:43:07 -04:00
parent 89f4817bdf
commit c817217ad8
4 changed files with 1758 additions and 1625 deletions

View File

@ -34,6 +34,7 @@ libostree_1_la_SOURCES = \
src/libostree/ostree-mutable-tree.c \
src/libostree/ostree-repo.c \
src/libostree/ostree-repo-checkout.c \
src/libostree/ostree-repo-commit.c \
src/libostree/ostree-repo-libarchive.c \
src/libostree/ostree-repo-prune.c \
src/libostree/ostree-repo-refs.c \

File diff suppressed because it is too large Load Diff

View File

@ -70,6 +70,20 @@ GFile *
_ostree_repo_get_file_object_path (OstreeRepo *self,
const char *checksum);
gboolean
_ostree_repo_find_object (OstreeRepo *self,
OstreeObjectType objtype,
const char *checksum,
GFile **out_stored_path,
GCancellable *cancellable,
GError **error);
gboolean
_ostree_repo_get_loose_object_dirs (OstreeRepo *self,
GPtrArray **out_object_dirs,
GCancellable *cancellable,
GError **error);
GFile *
_ostree_repo_get_object_path (OstreeRepo *self,
const char *checksum,

File diff suppressed because it is too large Load Diff