@@ -55,6 +55,18 @@ public virtual IEnumerable<Reference> ListReferences(Remote remote)
5555 return ListReferencesInternal ( remote . Url , null , new ProxyOptions ( ) ) ;
5656 }
5757
58+ /// <summary>
59+ /// List references in a <see cref="Remote"/> repository.
60+ /// <para>
61+ /// When the remote tips are ahead of the local ones, the retrieved
62+ /// <see cref="DirectReference"/>s may point to non existing
63+ /// <see cref="GitObject"/>s in the local repository. In that
64+ /// case, <see cref="DirectReference.Target"/> will return <c>null</c>.
65+ /// </para>
66+ /// </summary>
67+ /// <param name="remote">The <see cref="Remote"/> to list from.</param>
68+ /// <param name="proxyOptions">Options for connecting through a proxy.</param>
69+ /// <returns>The references in the <see cref="Remote"/> repository.</returns>
5870 public virtual IEnumerable < Reference > ListReferences ( Remote remote , ProxyOptions proxyOptions )
5971 {
6072 Ensure . ArgumentNotNull ( remote , "remote" ) ;
@@ -82,6 +94,19 @@ public virtual IEnumerable<Reference> ListReferences(Remote remote, CredentialsH
8294 return ListReferencesInternal ( remote . Url , credentialsProvider , new ProxyOptions ( ) ) ;
8395 }
8496
97+ /// <summary>
98+ /// List references in a <see cref="Remote"/> repository.
99+ /// <para>
100+ /// When the remote tips are ahead of the local ones, the retrieved
101+ /// <see cref="DirectReference"/>s may point to non existing
102+ /// <see cref="GitObject"/>s in the local repository. In that
103+ /// case, <see cref="DirectReference.Target"/> will return <c>null</c>.
104+ /// </para>
105+ /// </summary>
106+ /// <param name="remote">The <see cref="Remote"/> to list from.</param>
107+ /// <param name="credentialsProvider">The <see cref="Func{Credentials}"/> used to connect to remote repository.</param>
108+ /// <param name="proxyOptions">Options for connecting through a proxy.</param>
109+ /// <returns>The references in the <see cref="Remote"/> repository.</returns>
85110 public virtual IEnumerable < Reference > ListReferences ( Remote remote , CredentialsHandler credentialsProvider , ProxyOptions proxyOptions )
86111 {
87112 Ensure . ArgumentNotNull ( remote , "remote" ) ;
@@ -108,6 +133,18 @@ public virtual IEnumerable<Reference> ListReferences(string url)
108133 return ListReferencesInternal ( url , null , new ProxyOptions ( ) ) ;
109134 }
110135
136+ /// <summary>
137+ /// List references in a remote repository.
138+ /// <para>
139+ /// When the remote tips are ahead of the local ones, the retrieved
140+ /// <see cref="DirectReference"/>s may point to non existing
141+ /// <see cref="GitObject"/>s in the local repository. In that
142+ /// case, <see cref="DirectReference.Target"/> will return <c>null</c>.
143+ /// </para>
144+ /// </summary>
145+ /// <param name="url">The url to list from.</param>
146+ /// <param name="proxyOptions">Options for connecting through a proxy.</param>
147+ /// <returns>The references in the remote repository.</returns>
111148 public virtual IEnumerable < Reference > ListReferences ( string url , ProxyOptions proxyOptions )
112149 {
113150 Ensure . ArgumentNotNull ( url , "url" ) ;
@@ -135,6 +172,19 @@ public virtual IEnumerable<Reference> ListReferences(string url, CredentialsHand
135172 return ListReferencesInternal ( url , credentialsProvider , new ProxyOptions ( ) ) ;
136173 }
137174
175+ /// <summary>
176+ /// List references in a remote repository.
177+ /// <para>
178+ /// When the remote tips are ahead of the local ones, the retrieved
179+ /// <see cref="DirectReference"/>s may point to non existing
180+ /// <see cref="GitObject"/>s in the local repository. In that
181+ /// case, <see cref="DirectReference.Target"/> will return <c>null</c>.
182+ /// </para>
183+ /// </summary>
184+ /// <param name="url">The url to list from.</param>
185+ /// <param name="credentialsProvider">The <see cref="Func{Credentials}"/> used to connect to remote repository.</param>
186+ /// <param name="proxyOptions">Options for connecting through a proxy.</param>
187+ /// <returns>The references in the remote repository.</returns>
138188 public virtual IEnumerable < Reference > ListReferences ( string url , CredentialsHandler credentialsProvider , ProxyOptions proxyOptions )
139189 {
140190 Ensure . ArgumentNotNull ( url , "url" ) ;
0 commit comments