FOLLOW_LINKS

Follows symbolic links to the directories they point to.

By default, the Path.walk sequence includes symbolic links as-is and does not visit the contents of the directories they point to. Passing this option to the function causes the traversal to follow symbolic links and include the contents of the directories they point to in the resulting sequence. Note that following symbolic links may result in cycles during traversal, in which case a FileSystemLoopException is thrown.

Properties

Link copied to clipboard
Link copied to clipboard