Skip to content

Commit

Permalink
Remove obsolete methods
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlbyk committed May 22, 2012
1 parent 79ee568 commit 783948e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
11 changes: 0 additions & 11 deletions LibGit2Sharp/BranchCollection.cs
Expand Up @@ -88,17 +88,6 @@ IEnumerator IEnumerable.GetEnumerator()

#endregion

/// <summary>
/// Checkout the branch with the specified by name.
/// </summary>
/// <param name = "shaOrReferenceName">The sha of the commit, a canonical reference name or the name of the branch to checkout.</param>
/// <returns></returns>
[Obsolete("This method will be removed in the next release. Please use Repository.Checkout() instead.")]
public Branch Checkout(string shaOrReferenceName)
{
return repo.Checkout(shaOrReferenceName);
}

/// <summary>
/// Create a new local branch with the specified name
/// </summary>
Expand Down
16 changes: 1 addition & 15 deletions LibGit2Sharp/Tree.cs
@@ -1,5 +1,4 @@
using System;
using System.Collections;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using LibGit2Sharp.Core;
Expand Down Expand Up @@ -101,19 +100,6 @@ public IEnumerable<Blob> Blobs
}
}


/// <summary>
/// Gets the <see cref = "Blob" />s immediately under this <see cref = "Tree" />.
/// </summary>
[Obsolete("This property will be removed in the next release. Please use Tree.Blobs instead.")]
public IEnumerable<Blob> Files
{
get
{
return Blobs;
}
}

internal string Path
{
get { return path.Native; }
Expand Down

0 comments on commit 783948e

Please sign in to comment.