>_ IzzyLab

Topic breakdown

To keep find from descending into an entire directory, its branch is "pruned" with a special predicate — then the traversal doesn't go there at all. This works through predicate logic: first the path predicate with the prune, then the "or" operator switches to the second branch for everything else. The subtlety is that pruning breaks the implicit automatic printing, so file output is specified with an explicit print action; the result is then sorted.

What's checked

  1. files without the vendor directory
  2. vendor excluded

What it looks like