@@ -5,7 +5,7 @@ namespace LibGit2Sharp
55 /// <summary>
66 /// Provides helpers to a <see cref="Reference"/>.
77 /// </summary>
8- public static class ReferenceExtensions
8+ internal static class ReferenceExtensions
99 {
1010 internal static bool LooksLikeLocalBranch ( this string canonicalName )
1111 {
@@ -31,45 +31,5 @@ private static bool IsPrefixedBy(this string input, string prefix)
3131 {
3232 return input . StartsWith ( prefix , StringComparison . Ordinal ) ;
3333 }
34-
35- /// <summary>
36- /// Determine if the current <see cref="Reference"/> is a local branch.
37- /// </summary>
38- /// <param name="reference">The <see cref="Reference"/> to test.</param>
39- /// <returns>true if the current <see cref="Reference"/> is a local branch, false otherwise.</returns>
40- public static bool IsLocalBranch ( this Reference reference )
41- {
42- return reference . CanonicalName . LooksLikeLocalBranch ( ) ;
43- }
44-
45- /// <summary>
46- /// Determine if the current <see cref="Reference"/> is a remote tracking branch.
47- /// </summary>
48- /// <param name="reference">The <see cref="Reference"/> to test.</param>
49- /// <returns>true if the current <see cref="Reference"/> is a remote tracking branch, false otherwise.</returns>
50- public static bool IsRemoteTrackingBranch ( this Reference reference )
51- {
52- return reference . CanonicalName . LooksLikeRemoteTrackingBranch ( ) ;
53- }
54-
55- /// <summary>
56- /// Determine if the current <see cref="Reference"/> is a tag.
57- /// </summary>
58- /// <param name="reference">The <see cref="Reference"/> to test.</param>
59- /// <returns>true if the current <see cref="Reference"/> is a tag, false otherwise.</returns>
60- public static bool IsTag ( this Reference reference )
61- {
62- return reference . CanonicalName . LooksLikeTag ( ) ;
63- }
64-
65- /// <summary>
66- /// Determine if the current <see cref="Reference"/> is a note.
67- /// </summary>
68- /// <param name="reference">The <see cref="Reference"/> to test.</param>
69- /// <returns>true if the current <see cref="Reference"/> is a note, false otherwise.</returns>
70- public static bool IsNote ( this Reference reference )
71- {
72- return reference . CanonicalName . LooksLikeNote ( ) ;
73- }
7434 }
7535}
0 commit comments