Windows "junctions", a form of hard links (not symbolic links), are not detected using the "isSymbolicLink" function. This will lead to files being counted more than once. More importantly, when a junction points to it's parent or a directory above it, an infinite loop of directory children is made. The "getCanonicalPath" function does not resolve this.
Windows "junctions", a form of hard links (not symbolic links), are not detected using the "isSymbolicLink" function. This will lead to files being counted more than once. More importantly, when a junction points to it's parent or a directory above it, an infinite loop of directory children is made. The "getCanonicalPath" function does not resolve this.