Consider a file as visible if it is not hidden and it does not start with a dot.
Using the utility to copy artifacts from a Nexus 2 repository on the filesystem to Nexus 3 failed because the utility treated the Nexus control directories (.index, .meta, .nexus) as visible.
This change will treat . files as hidden even when they're not on Unix, and allows the copying to progress.
Consider a file as visible if it is not hidden and it does not start with a dot.
Using the utility to copy artifacts from a Nexus 2 repository on the filesystem to Nexus 3 failed because the utility treated the Nexus control directories (.index, .meta, .nexus) as visible.
This change will treat . files as hidden even when they're not on Unix, and allows the copying to progress.