core: Further unify API to create files
We now have just one place which writes to the filesystem. Wrap a temporary file allocation API on top of that.
This commit is contained in:
1 parent
c7235182a4
commit
d1950da1a0
5 files changed
+224
-166
No files matched your search
@@ -51,24 +51,6 @@ gboolean ot_gio_splice_and_checksum (GOutputStream *out,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
|
||||
gboolean ot_gfile_create_tmp (GFile *dir,
|
||||
const char *prefix,
|
||||
const char *suffix,
|
||||
int mode,
|
||||
GFile **out_file,
|
||||
GOutputStream **out_stream,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
gboolean ot_gfile_create_tmp_symlink (const char *target,
|
||||
GFile *dir,
|
||||
const char *prefix,
|
||||
const char *suffix,
|
||||
GFile **out_file,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
gboolean ot_gfile_merge_dirs (GFile *destination,
|
||||
GFile *src,
|
||||
GCancellable *cancellable,
|
||||
|
||||
Reference in new issue
Block a user