shrub/pkg/arvo/sur/group-hook.hoon
2020-06-08 17:53:16 +10:00

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]
==
--