Matthias Beyer
555c0bb1df
From the documentation of Walkdir::min_depth(): Set the minimum depth of entries yielded by the iterator. The smallest depth is 0 and always corresponds to the path given to the new function on this type. Its direct descendents have depth 1, and their descendents have depth 2, and so on. This means that when we started with "/tmp/store", we end up yielding that exact path in the first iteration. This is exactly what we do _not_ want. Setting the minimal depth to 1 fixes this bug. |
||
---|---|---|
.. | ||
libimagerror | ||
libimagrt | ||
libimagstore |