readTree: Support an args filter function

#143
Opened by tazjin at 2021-08-26T16·14+00

It would be useful to have a filter function that can be used to implement "visibility" restrictions inside the repository. My initial thought would be to just do this path-based, i.e. f :: parts -> attrs -> attrs where parts is the location list that readTree collects during traversal.

This would make it possible to, for example, make user folders inaccessible in the rest of the depot tree.

  1. Filter function support is in cl/3433, filter function for //users is in cl/3434

    tazjin at 2021-08-26T17·36+00

  2. tazjin closed this issue at 2021-08-26T21·35+00