File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ public void CanTellIfTheBlobContentLooksLikeBinary()
222
222
223
223
private static void SkipIfNotSupported ( string autocrlf )
224
224
{
225
- InconclusiveIf ( ( ) => autocrlf == "true" && IsRunningOnLinux ( ) , "Non-Windows does not support core.autocrlf = true" ) ;
225
+ InconclusiveIf ( ( ) => autocrlf == "true" && IsRunningOnUnix ( ) , "Non-Windows does not support core.autocrlf = true" ) ;
226
226
}
227
227
}
228
228
}
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public void CanProbeForNativeBinariesFromAShadowCopiedAssembly()
62
62
string cachedAssembliesPath = Path . Combine ( setup . CachePath , setup . ApplicationName ) ;
63
63
Assert . True ( cachedAssemblyLocation . StartsWith ( cachedAssembliesPath ) ) ;
64
64
65
- if ( ! IsRunningOnLinux ( ) )
65
+ if ( ! IsRunningOnUnix ( ) )
66
66
{
67
67
// ...that this cache doesn't contain the `NativeBinaries` folder
68
68
string cachedAssemblyParentPath = Path . GetDirectoryName ( cachedAssemblyLocation ) ;
Original file line number Diff line number Diff line change @@ -91,8 +91,8 @@ private static bool IsFileSystemCaseSensitiveInternal()
91
91
return ! isInsensitive ;
92
92
}
93
93
94
- // Should match LibGit2Sharp.Core.NativeMethods.IsRunningOnLinux ()
95
- protected static bool IsRunningOnLinux ( )
94
+ // Should match LibGit2Sharp.Core.NativeMethods.IsRunningOnUnix ()
95
+ protected static bool IsRunningOnUnix ( )
96
96
{
97
97
// see http://mono-project.com/FAQ%3a_Technical#Mono_Platforms
98
98
var p = ( int ) Environment . OSVersion . Platform ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ internal static void RemoveHandle()
64
64
65
65
static NativeMethods ( )
66
66
{
67
- if ( ! IsRunningOnLinux ( ) )
67
+ if ( ! IsRunningOnUnix ( ) )
68
68
{
69
69
string originalAssemblypath = new Uri ( Assembly . GetExecutingAssembly ( ) . EscapedCodeBase ) . LocalPath ;
70
70
@@ -94,8 +94,8 @@ public static string ProcessorArchitecture
94
94
}
95
95
}
96
96
97
- // Should match LibGit2Sharp.Tests.TestHelpers.BaseFixture.IsRunningOnLinux ()
98
- private static bool IsRunningOnLinux ( )
97
+ // Should match LibGit2Sharp.Tests.TestHelpers.BaseFixture.IsRunningOnUnix ()
98
+ private static bool IsRunningOnUnix ( )
99
99
{
100
100
// see http://mono-project.com/FAQ%3a_Technical#Mono_Platforms
101
101
var p = ( int ) Environment . OSVersion . Platform ;
You can’t perform that action at this time.
0 commit comments