wolfhong / formic

Better File Fuzzy Searching Tools. Formic is a Python implementation of Apache Ant FileSet and Globs.
https://formic.readthedocs.io/
GNU General Public License v3.0
3 stars 0 forks source link

symlinks optiions does not work #4

Closed wolfhong closed 6 years ago

wolfhong commented 6 years ago

symlinks are not followed.

Just test it with by comparing the output of

formic -i '' --no-symlinks formic -i ''

in a folder containing symlinks, the output is the same. The problem is line line 1188 of file formic.py, walk never follows symbolic links, perhaps the problem is solved by setting for root, dirs, files in self.walk(directory, followlinks=self.symlinks)

first tests seem ok