urbit/pkg/landscape/gen/metadata-store/remove.hoon

21 lines
630 B
Plaintext
Raw Normal View History

2020-10-19 05:45:20 +03:00
:: :metadata-store|remove: remove resource from group
:: Usage:
:: :metadata-store|remove
:: <group-name> <app-name> <channel-path>
:: %urbit-community %chat /~darrux-landes/general-503
::
:: You can acquire the channel-path with
:: :metadata-store +dbug [%state '(~(got by group-indices) <group-path>)'
:: and looking for the entry with an app-path that is similar to the
:: title of the channel
::
/- metadata=metadata-store
2020-10-19 05:45:20 +03:00
/+ resource
:- %say
|= $: [now=@da eny=@uvJ =beak]
[[group=term app=term rid=resource ~] ~]
2020-10-19 05:45:20 +03:00
==
:- %metadata-action
^- action:metadata
[%remove [p.beak group] app rid]