Tanzu Platform SaaS

Exclude transform

Last Updated February 19, 2025

The Exclude transform retains files based on their path, allowing all files except ones with a path that matches at least one of the configured patterns. The contents of files, and any of their other characteristics are unaffected.

Exclude is a basic building block seldom used as is, which makes sense if composed inside a Chain or a Merge.

Syntax reference

Exclude(LIST-OF-STRINGS)

Where LIST-OF-STRINGS is a list of patterns matching the files that you want to exclude.

Examples

Exclude({"**/secret/**"})

Diagram showing an exclude transform.

See also