This repository has no description
1use crate::grant::grant_set_cob;
2
3grant_set_cob! {
4 change = CollaboratorsChange,
5 cob = CollaboratorsCob,
6 state = Collaborators,
7 type_name = "sh.tangled.repo.collaborator",
8 add = add_collaborator,
9 remove = remove_collaborator,
10}
11
12#[cfg(test)]
13mod tests {
14 use knot_cob::ChangePayload;
15
16 #[test]
17 fn type_name_is_stable() {
18 assert_eq!(
19 super::CollaboratorsChange::TYPE,
20 "sh.tangled.repo.collaborator"
21 );
22 }
23}