p4 files (graph)
List the files in the repo.
Syntax
p4 files [-m max] file ...
Description
List the files in the repo. If client syntax is used to specify the file argument, the client view mapping is used to determine the corresponding repo files.
Options
|
|
Limit output to the first |
Usage Notes
| Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
|---|---|---|
|
Yes |
Yes |
list protection, read permission |
Examples
p4 files //bruno_1666/...
The depot for projectA is not of type
graph, so we see metadata, such as "add change 6
(text)". The depot for projectB is of type
graph, so we see only the file name:
//depot/projectA/README.md#1 - add change 6 (text) //depot/projectA/src/feature.cc#1 - add change 6 (text) //depot/projectA/src/main.cc#1 - add change 6 (text) //repo/projectB/Hero/IgnoreSubviewModPreprocessor.swift //repo/projectB/Hero/MatchPreprocessor.swift //repo/projectB/README.md






