Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-03-12 18:04:33 +0300
committernulltoken <emeric.fermas@gmail.com>2015-03-13 23:26:37 +0300
commit005869a26f61a181c637667b9f22c25d75747db6 (patch)
tree17e0216b635f973a62cc26e7bad16ac72e5fdbec /LibGit2Sharp
parentbc4897d84f8267faa18beae27c854e404f11367e (diff)
NativeMethods.IsRunningOnLinux -> IsRunningOnUnix
Diffstat (limited to 'LibGit2Sharp')
-rw-r--r--LibGit2Sharp/Core/NativeMethods.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/LibGit2Sharp/Core/NativeMethods.cs b/LibGit2Sharp/Core/NativeMethods.cs
index a3e8cd09..90cb384a 100644
--- a/LibGit2Sharp/Core/NativeMethods.cs
+++ b/LibGit2Sharp/Core/NativeMethods.cs
@@ -64,7 +64,7 @@ namespace LibGit2Sharp.Core
static NativeMethods()
{
- if (!IsRunningOnLinux())
+ if (!IsRunningOnUnix())
{
string originalAssemblypath = new Uri(Assembly.GetExecutingAssembly().EscapedCodeBase).LocalPath;
@@ -94,8 +94,8 @@ namespace LibGit2Sharp.Core
}
}
- // Should match LibGit2Sharp.Tests.TestHelpers.BaseFixture.IsRunningOnLinux()
- private static bool IsRunningOnLinux()
+ // Should match LibGit2Sharp.Tests.TestHelpers.BaseFixture.IsRunningOnUnix()
+ private static bool IsRunningOnUnix()
{
// see http://mono-project.com/FAQ%3a_Technical#Mono_Platforms
var p = (int)Environment.OSVersion.Platform;