Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Dahlby <dahlbyk@gmail.com>2012-05-22 06:52:47 +0400
committerKeith Dahlby <dahlbyk@gmail.com>2012-05-22 07:01:47 +0400
commit783948ecfa42d82974cbe0ccf4951e9f69d51f2b (patch)
tree5c7ca2dda2509b011b5f717e2788cd28da1995fc
parent79ee56821a93977566d2aaf17e2d7b4614221eff (diff)
Remove obsolete methods
-rw-r--r--LibGit2Sharp/BranchCollection.cs11
-rw-r--r--LibGit2Sharp/Tree.cs16
2 files changed, 1 insertions, 26 deletions
diff --git a/LibGit2Sharp/BranchCollection.cs b/LibGit2Sharp/BranchCollection.cs
index 4c674d91..381ee5c1 100644
--- a/LibGit2Sharp/BranchCollection.cs
+++ b/LibGit2Sharp/BranchCollection.cs
@@ -89,17 +89,6 @@ namespace LibGit2Sharp
#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>
/// <param name = "name">The name of the branch.</param>
diff --git a/LibGit2Sharp/Tree.cs b/LibGit2Sharp/Tree.cs
index 4bd84714..df635732 100644
--- a/LibGit2Sharp/Tree.cs
+++ b/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;
@@ -101,19 +100,6 @@ namespace LibGit2Sharp
}
}
-
- /// <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; }