core: Have single "overwrite" flag instead of ignore_exists+force pair

The default is always ignore_exists.  Also port the internals here
to use more GIO code, and stop using *at syscall variants since they're
only useful if used 100%.
This commit is contained in:
Colin Walters committed 2011-11-18 09:37:25 -05:00
1 parent 860c3cf502
commit 7276e2df43
2 files changed
+57 -92

No files matched your search

+1 -2
View File
@@ -80,8 +80,7 @@ gboolean ostree_repo_store_object_trusted (OstreeRepo *self,
const char *path,
const char *checksum,
OstreeObjectType objtype,
gboolean ignore_exists,
gboolean force,
gboolean overwrite,
gboolean *did_exist,
GError **error);