[This is preliminary documentation and is subject to change.]
Return a list of FileSpecs of files opened for specified changelists.
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2012.2.63.1250 (2012.2.63.1250)
Syntax
C# |
---|
public IList<File> GetOpenedFiles( IList<FileSpec> filespecs, Options options ) |
Visual Basic |
---|
Public Function GetOpenedFiles ( _ filespecs As IList(Of FileSpec), _ options As Options _ ) As IList(Of File) |
Visual C++ |
---|
public: IList<File^>^ GetOpenedFiles( IList<FileSpec^>^ filespecs, Options^ options ) |
Parameters
- filespecs
- Type: System.Collections.Generic..::..IList<(Of <(<'FileSpec>)>)>
- options
- Type: Perforce.P4..::..Options
Return Value
Remarks
p4 help opened
opened -- List open files and display file status
p4 opened [-a -c changelist# -C client -u user -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.
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.