deleteNote
Remove the note for an object.
The notesRef argument is the canonical name of the reference to use, defaulting to "refs/notes/commits".
The id specified is the Oid of the git object to remove the note from.
Signature
class Repository {
deleteNote(id: string, options?: DeleteNoteOptions | null | undefined): void;
}Parameters
- idrequired · string
OID of the git object to remove the note from.
- optionsnull | DeleteNoteOptions
Options for deleting note.
- authorSignaturePayload
Signature of the notes commit author. If not provided, the default signature of the repository will be used. If there is no default signature set for the repository, an error will occur.
- emailrequired · string
Email on the signature.
- namerequired · string
Name on the signature.
- timeOptionsSignatureTimeOptions
- offsetnumber
Timezone offset, in minutes
- timestamprequired · number
Time in seconds, from epoch
- offsetnumber
- emailrequired · string
- committerSignaturePayload
Signature of the notes commit commiter. If not provided, the default signature of the repository will be used. If there is no default signature set for the repository, an error will occur.
- emailrequired · string
Email on the signature.
- namerequired · string
Name on the signature.
- timeOptionsSignatureTimeOptions
- offsetnumber
Timezone offset, in minutes
- timestamprequired · number
Time in seconds, from epoch
- offsetnumber
- emailrequired · string
- notesRefstring
canonical name of the reference to use. Defaults to "refs/notes/commits".
- authorSignaturePayload
