toLocalPath

open override fun EnvPath.toLocalPath(): Result<Path>

The effect is the same as the result of running cygpath -w.