urbit/pkg/arvo/app/link-proxy-hook.hoon

47 lines
827 B
Plaintext
Raw Normal View History

:: link-proxy-hook: no longer in use
::
/+ default-agent, verb, dbug
~% %link-proxy-hook-top ..is ~
|%
2020-06-24 03:28:57 +03:00
+$ versioned-state
$% [%0 *]
[%1 *]
[%2 ~]
2020-06-24 03:28:57 +03:00
==
::
+$ card card:agent:gall
--
::
=| [%2 ~]
=* state -
::
2020-01-29 21:21:40 +03:00
%- agent:dbug
%+ verb |
^- agent:gall
|_ =bowl:gall
+* this .
def ~(. (default-agent this %&) bowl)
::
++ on-init on-init:def
++ on-save !>(state)
++ on-load
|= old-vase=vase
^- (quip card _this)
=/ paths
%+ turn ~(val by sup.bowl)
|=([=ship =path] path)
:_ this
:- [%pass /groups %agent [our.bowl %group-store] %leave ~]
?~ paths ~
[%give %kick paths ~]~
::
++ on-watch on-watch:def
++ on-leave on-leave:def
++ on-agent on-agent:def
++ on-poke on-poke:def
++ on-peek on-peek:def
++ on-arvo on-arvo:def
++ on-fail on-fail:def
--