Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2025.1

# ClientApi::GetIgnore()

Virtual? | No |
Class | `ClientApi` |
Arguments | None |
Returns | `Ignore *i` | an `Ignore` object, which can can be used to determine if a path is ignored.

## Notes

If `P4IGNORE` is not set, no paths are ignored.

## See also

`ClientApi::DefineIgnoreFile()``ClientApi::GetIgnoreFile()``ClientApi::SetIgnoreFile()`

## Example

This example demonstrates the use of `GetIgnore()`.

    if ( client->GetIgnore()->Reject( *clientPath,
                                          client->GetIgnoreFile() ) )
        {
            /* handling for ignored file */
        }
    }

Your search for returned results