Add symlink resolver so we can figure out paths properly
Fixes #192 On non-windows, git and other files might be symlinks, so when we're using them as a base for determining parent directories, we may need to resolve the symlink first. The rules for automatically doing symlink resolution are tricky, so for now just do it manually.
Showing
- src/GitHub.Api/Git/GitClient.cs 10 additions, 5 deletionssrc/GitHub.Api/Git/GitClient.cs
- src/GitHub.Api/GitHub.Api.csproj 3 additions, 0 deletionssrc/GitHub.Api/GitHub.Api.csproj
- src/GitHub.Api/IO/NiceIO.cs 12 additions, 0 deletionssrc/GitHub.Api/IO/NiceIO.cs
- src/GitHub.Api/Platform/DefaultEnvironment.cs 5 additions, 26 deletionssrc/GitHub.Api/Platform/DefaultEnvironment.cs
Please register or sign in to comment