Puli\Repository\Resource\Metadata\FilesystemMetadata::fixWindowsPath PHP Méthode

fixWindowsPath() private méthode

On Windows, fileXtime functions see only changes on the symlink file and not the original one.
private fixWindowsPath ( string $path ) : string
$path string
Résultat string
    private function fixWindowsPath($path)
    {
        if (is_link($path) && defined('PHP_WINDOWS_VERSION_MAJOR')) {
            $path = readlink($path);
        }
        return $path;
    }