core: Drop "staged" state for objects, refactor pull to split metadata/data
Previously we had the "staged" state to ensure we didn't add a commit object without the associated dirtree, etc. However it's easier/better to just ensure in the pull command that we have all referenced objects. Also change pull to download metadata first. This will allow adding a progress bar later.
This commit is contained in:
1 parent
56089abd43
commit
9c7a47434d
4 files changed
+148
-325
No files matched your search
@@ -96,7 +96,6 @@ gboolean ostree_repo_find_object (OstreeRepo *self,
|
||||
OstreeObjectType objtype,
|
||||
const char *checksum,
|
||||
GFile **out_stored_path,
|
||||
GFile **out_pending_path,
|
||||
char **out_pack_checksum,
|
||||
guint64 *out_pack_offset,
|
||||
GCancellable *cancellable,
|
||||
|
||||
Reference in new issue
Block a user