Comment 1 for bug 33378

Revision history for this message
In , Mouring (mouring) wrote :

fts would be easy enough to use for recursive. I think 'put' can be written in
a matter of a night or two (Assuming one is awake <chuckle>), but there is one
minor downfall to fts. It assuming all access is local. And unlike glob it
does not support the ability to override opendir(), readdir(), closedir(), lstat
() and stat().

Unless there is something I'm missing get and put can't both use fts effectly
without forking the code and rewriting small chunks of it.

Would be nice if fts could be modified to support virtualizing those function
calls, but with it having a chance of going into POSIX (some century) I doubt
the API can change much.