lib/poshy-env-var.0.6.0/lib/poshy-lucidity.0.4.1/src/Test-ReparsePoint.ps1
#!/usr/bin/env pwsh $ErrorActionPreference = "Stop" Set-StrictMode -Version Latest <# .SYNOPSIS Tests whether or not the specified path is a reparse point. .OUTPUTS System.Boolean #> function Test-ReparsePoint([string]$path) { $file = Get-Item $path -Force -ea SilentlyContinue return [bool]($file.Attributes -band [IO.FileAttributes]::ReparsePoint) } |