Limit View

Restricts the paths mapped by the View. This is helpful for streams clients where the View cannot be modified in the client spec.

The mappings may be specified in either client or depot syntax, but not a combination of both. Exclusion mappings (prefixed with -) can be used to omit specific paths or file types.

Example:

  View:
    //depot1/... //ws/depot1/...
    //depot2/... //ws/depot2/...
  LimitView:
    //ws/depot1/path/...
    -//ws/....exe
		
Will limit the client's view to just files under //depot1/path excluding files with the .exe extension.

Note: LimitView requires P4 Server 2021.1 or later.