You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Creates or updates a <see cref="Note"/> on the specified object, and for the given namespace.
170
+
/// <para>Both the Author and Committer will be guessed from the Git configuration. An exception will be raised if no configuration is reachable.</para>
171
+
/// </summary>
172
+
/// <param name="targetId">The target <see cref="ObjectId"/>, for which the note will be created.</param>
/// <param name="namespace">The namespace on which the note will be created. It can be either a canonical namespace or an abbreviated namespace ('refs/notes/myNamespace' or just 'myNamespace').</param>
175
+
/// <returns>The note which was just saved.</returns>
/// Creates or updates a <see cref="Note&qu
8000
ot;/> on the specified object, and for the given namespace.
170
185
/// </summary>
@@ -191,6 +206,19 @@ public virtual Note Add(ObjectId targetId, string message, Signature author, Sig
191
206
returnthis[canonicalNamespace,targetId];
192
207
}
193
208
209
+
/// <summary>
210
+
/// Deletes the note on the specified object, and for the given namespace.
211
+
/// <para>Both the Author and Committer will be guessed from the Git configuration. An exception will be raised if no configuration is reachable.</para>
212
+
/// </summary>
213
+
/// <param name="targetId">The target <see cref="ObjectId"/>, for which the note will be created.</param>
214
+
/// <param name="namespace">The namespace on which the note will be removed. It can be either a canonical namespace or an abbreviated namespace ('refs/notes/myNamespace' or just 'myNamespace').</param>
0 commit comments