Flags to configure the client behavior.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax [FlagsAttribute]
public enum ClientOption
<FlagsAttribute>
Public Enumeration ClientOption
[FlagsAttribute]
public enum class ClientOption
[<FlagsAttribute>]
type ClientOption
Members
| Member name | Value | Description |
---|
| None | 0 |
No options.
|
| AllWrite | 1 |
Leaves all files writable on the client;
by default, only files opened by 'p4 edit'
are writable. If set, files might be clobbered
as a result of ignoring the clobber option.
|
| Clobber | 2 |
Permits 'p4 sync' to overwrite writable
files on the client. noclobber is ignored if
allwrite is set.
|
| Compress | 4 |
Compresses data sent between the client
and server to speed up slow connections.
|
| Locked | 8 |
Allows only the client owner to use or change
the client spec. Prevents the client spec from
being deleted.
|
| ModTime | 16 |
Causes 'p4 sync' and 'p4 submit' to preserve
file modification time, as with files with the
+m type modifier. (See 'p4 help filetypes'.)
With nomodtime, file timestamps are updated by
sync and submit operations.
|
| RmDir | 32 |
Makes 'p4 sync' attempt to delete a workspace
directory when all files in it are removed.
|
| AltSync | 64 |
Instructs the client to use an alternative sync
agent specified with P4ALTSYNC when performing
file operations in the workspace. This option
can only be changed when the client's have list
is empty
|
See Also