summaryrefslogtreecommitdiff
path: root/src/gio-utils.h
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2023-05-11 16:02:49 +0800
committerraveit65 <[email protected]>2023-05-13 19:22:34 +0200
commit2750084388d9cb6164a99be13070f5d8b56e866b (patch)
tree1dbf60e9102d99c9d7df17eb8438538aa9656a3e /src/gio-utils.h
parent9cbea8d2e8f14ea4477c21d8fdf14d58ec00f6a9 (diff)
downloadengrampa-2750084388d9cb6164a99be13070f5d8b56e866b.tar.bz2
engrampa-2750084388d9cb6164a99be13070f5d8b56e866b.tar.xz
Archive do not track symbolic link
g_file_enumerate_children_async default should use G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS. This can avoid link loops
Diffstat (limited to 'src/gio-utils.h')
-rw-r--r--src/gio-utils.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gio-utils.h b/src/gio-utils.h
index 47add16..e8d99aa 100644
--- a/src/gio-utils.h
+++ b/src/gio-utils.h
@@ -38,8 +38,9 @@ typedef DirOp (*StartDirCallback) (const char *uri,
GError **error,
gpointer user_data);
typedef void (*ForEachChildCallback) (const char *uri,
- GFileInfo *info,
- gpointer user_data);
+ gboolean follow_links,
+ GFileInfo *info,
+ gpointer user_data);
typedef void (*ForEachDoneCallback) (GError *error,
gpointer data);
typedef void (*ListReadyCallback) (GList *files,