Skip to content

Commit 783948e

Browse files
committed
Remove obsolete methods
1 parent 79ee568 commit 783948e

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

LibGit2Sharp/BranchCollection.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,6 @@ IEnumerator IEnumerable.GetEnumerator()
8888

8989
#endregion
9090

91-
/// <summary>
92-
/// Checkout the branch with the specified by name.
93-
/// </summary>
94-
/// <param name = "shaOrReferenceName">The sha of the commit, a canonical reference name or the name of the branch to checkout.</param>
95-
/// <returns></returns>
96-
[Obsolete("This method will be removed in the next release. Please use Repository.Checkout() instead.")]
97-
public Branch Checkout(string shaOrReferenceName)
98-
{
99-
return repo.Checkout(shaOrReferenceName);
100-
}
101-
10291
/// <summary>
10392
/// Create a new local branch with the specified name
10493
/// </summary>

LibGit2Sharp/Tree.cs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using System.Collections;
1+
using System.Collections;
32
using System.Collections.Generic;
43
using System.Linq;
54
using LibGit2Sharp.Core;
@@ -101,19 +100,6 @@ public IEnumerable<Blob> Blobs
101100
}
102101
}
103102

104-
105-
/// <summary>
106-
/// Gets the <see cref = "Blob" />s immediately under this <see cref = "Tree" />.
107-
/// </summary>
108-
[Obsolete("This property will be removed in the next release. Please use Tree.Blobs instead.")]
109-
public IEnumerable<Blob> Files
110-
{
111-
get
112-
{
113-
return Blobs;
114-
}
115-
}
116-
117103
internal string Path
118104
{
119105
get { return path.Native; }

0 commit comments

Comments
 (0)