The wrapper that uses scandir in Pathos started crashing after a number of uses. This only happens starting on macOS 10.15.4.
Mean while, there’s this
https://www.imore.com/having-hangs-and-crashes-updating-macos-10154-me-too
Mean while, there’s this
https://www.imore.com/having-hangs-and-crashes-updating-macos-10154-me-too

worked around with {open,read,close}dir https://github.com/dduan/Pathos/pull/123
(I might as well keep updating this thread regarding Pathos)
Closing an API gap that had bad performance implications for consumers here: https://github.com/dduan/Pathos/pull/125
(Bad when you need to retrieve more than 1 piece of metadata, prior to this)
Closing an API gap that had bad performance implications for consumers here: https://github.com/dduan/Pathos/pull/125
(Bad when you need to retrieve more than 1 piece of metadata, prior to this)
As a result I'm thinking of deprecating the old file attribute APIs in future releases (will keep them deprecated for a few releases, obviously)