Function
Ideg_file_walk_with_ignore
Declaration
void
ide_g_file_walk_with_ignore (
GFile* directory,
const gchar* attributes,
const gchar* ignore_file,
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.
If ignore_file is set, this function will check to see if that file exists
within directory and skip it (and all descendants) if discovered.
| Available since: | 3.34 |
Parameters
directory |
GFile |
A |
|
| The data is owned by the caller of the function. | |
attributes |
const gchar* |
Attributes to include in |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
ignore_file |
const gchar* |
The filename within |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
cancellable |
GCancellable |
An optional cancellable. |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
callback |
IdeFileWalkCallback |
A callback for each directory starting from
the |
|
callback_data |
gpointer |
Closure data for |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. |