diff options
Diffstat (limited to 'LibGit2Sharp/Repository.cs')
-rw-r--r-- | LibGit2Sharp/Repository.cs | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/LibGit2Sharp/Repository.cs b/LibGit2Sharp/Repository.cs index d860e23b..3ec3def4 100644 --- a/LibGit2Sharp/Repository.cs +++ b/LibGit2Sharp/Repository.cs @@ -813,30 +813,6 @@ namespace LibGit2Sharp /// This method does not switch branches or update the current repository HEAD. /// </para> /// </summary> - /// <param name="committishOrBranchSpec">A revparse spec for the commit or branch to checkout paths from.</param> - /// <param name="paths">The paths to checkout.</param> - /// <param name="checkoutOptions">Options controlling checkout behavior.</param> - /// <param name="onCheckoutProgress">Callback method to report checkout progress updates through.</param> - /// <param name="checkoutNotificationOptions"><see cref="CheckoutNotificationOptions"/> to manage checkout notifications.</param> - [Obsolete("This method will be removed in the next release. Please use CheckoutPaths(string, IEnumerable<string>, CheckoutOptions) instead.")] - public void CheckoutPaths(string committishOrBranchSpec, IList<string> paths, CheckoutModifiers checkoutOptions, CheckoutProgressHandler onCheckoutProgress, CheckoutNotificationOptions checkoutNotificationOptions) - { - var opts = new CheckoutOptions - { - CheckoutModifiers = checkoutOptions, - OnCheckoutProgress = onCheckoutProgress, - CheckoutNotificationOptions = checkoutNotificationOptions - }; - - CheckoutPaths(committishOrBranchSpec, paths, opts); - } - - /// <summary> - /// Updates specifed paths in the index and working directory with the versions from the specified branch, reference, or SHA. - /// <para> - /// This method does not switch branches or update the current repository HEAD. - /// </para> - /// </summary> /// <param name = "committishOrBranchSpec">A revparse spec for the commit or branch to checkout paths from.</param> /// <param name="paths">The paths to checkout. Will throw if null is passed in. Passing an empty enumeration results in nothing being checked out.</param> /// <param name="checkoutOptions">Collection of parameters controlling checkout behavior.</param> |