Function
Ideg_file_walk
Declaration
void
ide_g_file_walk (
GFile* directory,
const gchar* attributes,
GCancellable* cancellable,
IdeFileWalkCallback callback,
gpointer callback_data
)
Description
Calls callback
for every directory starting from directory
.
All of the fileinfo for the directory will be provided to the callback for each directory.
Parameters
directory
-
Type:
GFile
A
GFile
that is a directory.The data is owned by the caller of the function. attributes
-
Type:
const gchar*
Attributes to include in
GFileInfo
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. cancellable
-
Type:
GCancellable
An optional cancellable.
The argument can be NULL
.The data is owned by the caller of the function. callback
-
Type:
IdeFileWalkCallback
A callback for each directory starting from
directory
. callback_data
-
Type:
gpointer
Closure data for
callback
.The argument can be NULL
.The data is owned by the caller of the function.