Traverses a directory depth-first in deterministic name order.
Directory links are followed once by canonical target identity, preventing
cycles and duplicate traversal. Links resolving outside the requested root are
yielded but not followed unless allowOutsideRoot is explicitly enabled.
Traverses a directory depth-first in deterministic name order.
Directory links are followed once by canonical target identity, preventing cycles and duplicate traversal. Links resolving outside the requested root are yielded but not followed unless
allowOutsideRootis explicitly enabled.