upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib/git_events.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/git_events.rs')
-rw-r--r--src/lib/git_events.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/git_events.rs b/src/lib/git_events.rs
index 32c23ac..dde0e1a 100644
--- a/src/lib/git_events.rs
+++ b/src/lib/git_events.rs
@@ -88,6 +88,8 @@ pub fn status_kinds() -> Vec<Kind> {
88pub const KIND_PULL_REQUEST: Kind = Kind::Custom(1618); 88pub const KIND_PULL_REQUEST: Kind = Kind::Custom(1618);
89pub const KIND_PULL_REQUEST_UPDATE: Kind = Kind::Custom(1619); 89pub const KIND_PULL_REQUEST_UPDATE: Kind = Kind::Custom(1619);
90pub const KIND_USER_GRASP_LIST: Kind = Kind::Custom(10317); 90pub const KIND_USER_GRASP_LIST: Kind = Kind::Custom(10317);
91/// NIP-22 comment (kind 1111) — threaded comments on any event.
92pub const KIND_COMMENT: Kind = Kind::Custom(1111);
91 93
92pub fn event_is_patch_set_root(event: &Event) -> bool { 94pub fn event_is_patch_set_root(event: &Event) -> bool {
93 event.kind.eq(&Kind::GitPatch) 95 event.kind.eq(&Kind::GitPatch)