deltas: Support passing filename to ostree_repo_static_delta_execute_offline

If you pass a diriectory it will look for the "superblock" child, otherwise
it will use the file as the superblock. I need this in xdg-app to be able
to install any filename as a bundle.
This commit is contained in:
Alexander Larsson committed 2015-11-10 08:56:15 +01:00
1 parent dac57b6410
commit ec56fea821
2 files changed
+19 -4

No files matched your search

+1 -1
View File
@@ -594,7 +594,7 @@ gboolean ostree_repo_static_delta_generate (OstreeRepo *self,
GError **error);
gboolean ostree_repo_static_delta_execute_offline (OstreeRepo *self,
GFile *dir,
GFile *dir_or_file,
gboolean skip_validation,
GCancellable *cancellable,
GError **error);