thecodrr / fdir

⚡ The fastest directory crawler & globbing library for NodeJS. Crawls 1m files in < 1s
https://thecodrr.github.io/fdir/
MIT License
1.51k stars 58 forks source link

Need to list path to symlink instead of resolved path #71

Closed LucianBuzzo closed 1 year ago

LucianBuzzo commented 2 years ago

I have a need to list the path to a symlink itself rather than the resolved path of the symlink. Currently symlinks are ignored unless withSymLinks() is used, however if you use withSymLinks(), then the resolved path of the symlink is returned instead. From what I can see it may be possible to list the symlink path in Walker, perhaps with a new option/chain.

AlynxZhou commented 2 years ago

I have this issue, too.

peterbe commented 2 years ago

I'm struggling with this too. @thecodrr Do you know of a solution to bypass this for now?