List files and revisions we have in workspace
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)
Syntax
C# |
---|
public IList<FileSpec> GetSyncedFiles( Options options, params FileSpec[] files ) |
Visual Basic |
---|
Public Function GetSyncedFiles ( _ options As Options, _ ParamArray files As FileSpec() _ ) As IList(Of FileSpec) |
Visual C++ |
---|
public: IList<FileSpec^>^ GetSyncedFiles( Options^ options, ... array<FileSpec^>^ files ) |
Parameters
- options
- Type: Perforce.P4..::..Options
options to the command
- files
- Type: array<Perforce.P4..::..FileSpec>[]()[][]
Array of files to check
Return Value
List of files we have
Remarks
p4 help have
have -- List the revisions most recently synced to the current workspace
p4 have [file ...]
List revision numbers of the currently-synced files. If file name is
omitted, list all files synced to this client workspace.
The format is: depot-file#revision - client-file