Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit cc671bf

Browse files
committed
🔥 unused code
1 parent 98c54da commit cc671bf

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/GitHub.Exports/Extensions/VSExtensions.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,16 +121,6 @@ public static void AddDynamicMenuItem(this IServiceProvider provider,
121121

122122
public static class ISolutionExtensions
123123
{
124-
public static UriString GetRepoUrlFromSolution(IVsSolution solution)
125-
{
126-
string solutionDir, solutionFile, userFile;
127-
if (!ErrorHandler.Succeeded(solution.GetSolutionInfo(out solutionDir, out solutionFile, out userFile)))
128-
return null;
129-
if (solutionDir == null)
130-
return null;
131-
return GitService.GitServiceHelper.GetUri(solutionDir);
132-
}
133-
134124
public static IRepository GetRepoFromSolution(this IVsSolution solution)
135125
{
136126
string solutionDir, solutionFile, userFile;

0 commit comments

Comments
 (0)