lib/poshy-ecks.0.5.22/lib/poshy-env-var.0.5.24/lib/poshy-lucidity.0.3.15/src/Test-ReparsePoint.ps1

#!/usr/bin/env pwsh
$ErrorActionPreference = "Stop"
Set-StrictMode -Version Latest


function Test-ReparsePoint([string]$path) {
    $file = Get-Item $path -Force -ea SilentlyContinue
    return [bool]($file.Attributes -band [IO.FileAttributes]::ReparsePoint)
}