MoveFileCmdFlags Enumeration
|
Flags for the move command.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax [FlagsAttribute]
public enum MoveFileCmdFlags
<FlagsAttribute>
Public Enumeration MoveFileCmdFlags
[FlagsAttribute]
public enum class MoveFileCmdFlags
[<FlagsAttribute>]
type MoveFileCmdFlags
Members
| Member name | Value | Description |
---|
| None | 0 |
No flags.
|
| Force | 1 |
The -f flag forces a move to an existing target file. The file
must be synced and not opened. The originating source file will
no longer be synced to the client.
|
| Preview | 2 |
The -n flag previews the operation without moving files.
|
| ServerOnly | 4 |
The -k flag performs the rename on the server without modifying
client files. Use with caution, as an incorrect move can cause
discrepancies between the state of the client and the corresponding
server metadata.
|
See Also