mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 14:42:02 +03:00
17 lines
392 B
Plaintext
17 lines
392 B
Plaintext
/- *group, store=group-store, *resource
|
|
|%
|
|
:: $action: request to change group-hook state
|
|
::
|
|
:: %add:
|
|
:: if ship is ours make group available to sync, else sync foreign group
|
|
:: to group-store.
|
|
:: %remove:
|
|
:: if ship is ours make unavailable to sync, else stop syncing foreign
|
|
:: group.
|
|
::
|
|
+$ action
|
|
$% [%add rid=resource]
|
|
[%remove rid=resource]
|
|
==
|
|
--
|