Options Constructor (GetOpenedFilesCmdFlags, String, String, String, Int32)
|
Options for the opened command
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.261.8274
Syntaxpublic Options(
GetOpenedFilesCmdFlags flags,
string changelist,
string client,
string user,
int maxItems
)
Public Sub New (
flags As GetOpenedFilesCmdFlags,
changelist As String,
client As String,
user As String,
maxItems As Integer
)
public:
Options(
GetOpenedFilesCmdFlags flags,
String^ changelist,
String^ client,
String^ user,
int maxItems
)
new :
flags : GetOpenedFilesCmdFlags *
changelist : string *
client : string *
user : string *
maxItems : int -> Options
Parameters
- flags
- Type: Perforce.P4GetOpenedFilesCmdFlags
- changelist
- Type: SystemString
- client
- Type: SystemString
- user
- Type: SystemString
- maxItems
- Type: SystemInt32
Remarks
p4 help opened
opened -- List open files and display file status
p4 opened [-a -c changelist# -C client -u user -m max -s] [file ...]
p4 opened [-a -x -m max ] [file ...]
Lists files currently opened in pending changelists, or, for
specified files, show whether they are currently opened or locked.
If the file specification is omitted, all files open in the current
client workspace are listed.
Files in shelved changelists are not displayed by this command. To
display shelved changelists, see 'p4 changes -s shelved'; to display
the files in those shelved changelists, see 'p4 describe -s -S'.
The -a flag lists opened files in all clients. By default, only
files opened by the current client are listed.
The -c changelist# flag lists files opened in the specified
changelist#.
The -C client flag lists files open in the specified client workspace.
The -u user flag lists files opened by the specified user.
The -m max flag limits output to the first 'max' number of files.
The -s option produces 'short' and optimized output when used with
the -a (all clients) option. For large repositories '-a' can take
a long time when compared to '-as'.
The -x option lists files that are opened 'exclusive'. This option
only applies to a distributed installation where global tracking of
these file types is necessary across servers. The -x option implies
the -a option.
See Also