ClientGetSyncedFiles Method (Options, FileSpec)
|
List files and revisions we have in workspace
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.261.8274
Syntaxpublic IList<FileSpec> GetSyncedFiles(
Options options,
params FileSpec[] files
)
Public Function GetSyncedFiles (
options As Options,
ParamArray files As FileSpec()
) As IList(Of FileSpec)
public:
IList<FileSpec^>^ GetSyncedFiles(
Options^ options,
... array<FileSpec^>^ files
)
member GetSyncedFiles :
options : Options *
files : FileSpec[] -> IList<FileSpec>
Parameters
- options
- Type: Perforce.P4Options
options to the command - files
- Type: Perforce.P4FileSpec
Array of files to check
Return Value
Type:
IListFileSpecList 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
See Also