Ide.g_file_walk_with_ignore
Description: Reference for Ide.g_file_walk_with_ignore

### 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 `GFile` that is a directory.
| The data is owned by the caller of the function.
`attributes` | `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.
`ignore_file` | `const gchar*`
| The filename within `directory` to indicate that the directory should be ignored.
| 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 `directory`.
`callback_data` | `gpointer`
| Closure data for `callback`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.