Skip to content

Commit e8873e1

Browse files
committed
ITransport: Make ListRefs() return a List
1 parent 92a812b commit e8873e1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

LibGit2Sharp/GitTransport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ public void Connect()
4848
}
4949
}
5050

51-
public void ListRefs()
51+
public List<PktRef> ListRefs()
5252
{
53-
53+
return Refs;
5454
}
5555
}
5656
}

LibGit2Sharp/ITransport.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
using System;
2+
using System.Collections.Generic;
3+
24
namespace LibGit2Sharp
35
{
46
public interface ITransport
57
{
68
void Connect();
7-
void ListRefs();
9+
List<PktRef> ListRefs();
810
}
911
}
1012

0 commit comments

Comments
 (0)