diff options
author | Colin Walters <walters@verbum.org> | 2014-12-12 08:54:11 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2014-12-12 08:54:11 -0500 |
commit | 6a4e3328694f74e357b2c2ffcef4e12500717e08 (patch) | |
tree | be77e4b287c59f2d9e45fdf0cc159d00dcf55039 /src/gsystem-shutil.h | |
parent | e8d509e1d26b51bc01d77934d1b1c07ef78cb5ec (diff) | |
download | libgsystem-wip/diriter.tar.gz |
shutil: Change rm_rf() to use new GSDirFdIterator, and add *at variantwip/diriter
This noticeably cleans up the rm_rf() code. And also it now becomes
easy add a gs_shutil_rm_rf_at() variant.
Diffstat (limited to 'src/gsystem-shutil.h')
-rw-r--r-- | src/gsystem-shutil.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gsystem-shutil.h b/src/gsystem-shutil.h index 3cdea77..ebab583 100644 --- a/src/gsystem-shutil.h +++ b/src/gsystem-shutil.h @@ -38,6 +38,12 @@ gs_shutil_cp_a (GFile *src, GError **error); gboolean +gs_shutil_rm_rf_at (int fd, + const char *path, + GCancellable *cancellable, + GError **error); + +gboolean gs_shutil_rm_rf (GFile *path, GCancellable *cancellable, GError **error); |