10000 Merge pull request #1024 from ThomasBarnekow/beautify-file-path-exten… · scrum-software/libgit2sharp@61adafd · GitHub
[go: up one dir, main page]

Skip to content

Commit 61adafd

Browse files
committed
Merge pull request libgit2#1024 from ThomasBarnekow/beautify-file-path-extensions
Beautify FilePathExtensions
2 parents 40de694 + f17d971 commit 61adafd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

LibGit2Sharp/Core/FilePathExtensions.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ namespace LibGit2Sharp.Core
22
{
33
internal static class FilePathExtensions
44
{
5-
internal static FilePath Combine(this FilePath @this, string childPath)
5+
internal static FilePath Combine(this FilePath filePath, string childPath)
66
{
7-
return @this.IsNullOrEmpty() ? childPath : @this.Posix + "/" + childPath;
7+
return filePath.IsNullOrEmpty() ? childPath : filePath.Posix + "/" + childPath;
88
}
99

10-
internal static bool IsNullOrEmpty(this FilePath @this)
10+
internal static bool IsNullOrEmpty(this FilePath filePath)
1111
{
12-
return ReferenceEquals(@this, null) || @this.Posix.Length == 0;
12+
return ReferenceEquals(filePath, null) || filePath.Posix.Length == 0;
1313
}
1414
}
15-
}
15+
}

0 commit comments

Comments
 (0)
0