Click or drag to resize

ClientGetSyncedFiles Method (Options, FileSpec)

List files and revisions we have in workspace

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.255.3501
Syntax
public IList<FileSpec> GetSyncedFiles(
	Options options,
	params FileSpec[] files
)

Parameters

options
Type: Perforce.P4Options
options to the command
files
Type: Perforce.P4FileSpec
Array of files to check

Return Value

Type: IListFileSpec
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

See Also