diff options
author | Colin Walters <walters@verbum.org> | 2013-01-06 12:25:56 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-01-06 12:25:56 -0500 |
commit | b1424432d7cc7af622ef1dbaaf71282cec683df6 (patch) | |
tree | 5a3a9bd4e2b88d905fe236660cc924f2acc55a95 /gsystem-file-utils.h | |
parent | fe898ee93bdc8a625c460876c8b49428c8977219 (diff) | |
download | libgsystem-b1424432d7cc7af622ef1dbaaf71282cec683df6.tar.gz |
fileutils: Extend linkcopy API
* Add gs_file_linkcopy()
* Honor some GFileCopyFlags (namely G_FILE_COPY_OVERWRITE)
Diffstat (limited to 'gsystem-file-utils.h')
-rw-r--r-- | gsystem-file-utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gsystem-file-utils.h b/gsystem-file-utils.h index b88ce31..420ec50 100644 --- a/gsystem-file-utils.h +++ b/gsystem-file-utils.h @@ -44,8 +44,15 @@ gboolean gs_file_sync_data (GFile *file, GCancellable *cancellable, GError **error); +gboolean gs_file_linkcopy (GFile *src, + GFile *dest, + GFileCopyFlags flags, + GCancellable *cancellable, + GError **error); + gboolean gs_file_linkcopy_sync_data (GFile *src, GFile *dest, + GFileCopyFlags flags, GCancellable *cancellable, GError **error); |