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 */
    }
}