lib/cleanup: Port some of the cleanup code to fd-relative and new style

There aren't many users of `g_file_enumerator_iterate()` left - those
remaining are usually good candidates for porting.  There's some more
porting to do in this file; a mix of trivial and harder.  This
one is a good candidate for an individual commit.

Closes: #803
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2017-04-24 14:45:19 +00:00
1 parent 50ca653ff6
commit 3f1bcab27f
3 files changed
+86 -99

No files matched your search

+2 -1
View File
@@ -87,7 +87,8 @@ _ostree_sysroot_parse_deploy_path_name (const char *name,
GError **error);
gboolean
_ostree_sysroot_list_deployment_dirs_for_os (GFile *osdir,
_ostree_sysroot_list_deployment_dirs_for_os (int deploydir_dfd,
const char *osname,
GPtrArray *inout_deployments,
GCancellable *cancellable,
GError **error);