it's at
https://github.com/cosmicexplorer/pants/tree/warn-globs-v2 -- i can only type in ~5-minute increments so i actually haven't gotten the chance to jump down any rabbit holes. the algorithm is wholly undocumented but it's basically what you would expect -- but this should do exactly as many fs calls as master (if it's correct, lol). i guess i should really check to make sure the
list ::
regression is actually within the rust code and not e.g. in some python from the previous iteration of this pr. that branch should be immediately usable if you want to check -- obviously the rust changes are in
src/rust/engine/fs/src/lib.rs
around the
expand()
method.