ClientApi::SetIgnoreFile( const StrPtr * )
Sets the full path name of the ignore file to be used for this connection.
Virtual? |
No |
|
Class |
||
Arguments |
|
the full path name of the new ignore file |
Returns |
|
Notes
SetIgnoreFile()
does not permanently set the P4IGNORE
value in the
environment or registry. The new setting applies only to commands
executed by calling this ClientApi
object’s Run()
method.
See also
ClientApi::DefineIgnoreFile()
ClientApi::GetIgnore()
ClientApi::GetIgnoreFile()
Example
The following example sets an ignore file location by calling SetIgnoreFile()
.
# include "clientapi.h" int main() { ClientApi client; StrBuf sb; sb = ".p4ignore"; client.SetIgnoreFile( &sb; ); }