While @borkdude was having a peek at #163 he noted that the internal file-seq (which PR replaces with internal path-seq) does not take symlinks into account.
This internal fn is used by modified-since and zip.
Option 0: Do nothing
Affected fns will navigate symbolic links in dir/file trees, potentially getting into circular behaviour.
Options 1: Never follow symbolic links
Never follow symbolic links for affected fns.
I'm guessing that this is typically what users might want?
Option 2: Optionally follow symbolic links
Like other fs fns, add a :follow-links option, default false.
Proposal
Option 2 seems to be the most flexible. Is there any issue with option 2?
Next Steps
Happy to do up a PR after path is chosen.
While @borkdude was having a peek at #163 he noted that the internal
file-seq(which PR replaces with internalpath-seq) does not take symlinks into account.This internal fn is used by
modified-sinceandzip.Option 0: Do nothing
Affected fns will navigate symbolic links in dir/file trees, potentially getting into circular behaviour.
Options 1: Never follow symbolic links
Never follow symbolic links for affected fns.
I'm guessing that this is typically what users might want?
Option 2: Optionally follow symbolic links
Like other fs fns, add a
:follow-linksoption, defaultfalse.Proposal
Option 2 seems to be the most flexible. Is there any issue with option 2?
Next Steps
Happy to do up a PR after path is chosen.