mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 16:09:31 +03:00
21 lines
456 B
Plaintext
21 lines
456 B
Plaintext
:: Hood, generic: load named hood component's state from backup
|
|
::
|
|
:::: /hoon/load/hood/gen
|
|
::
|
|
/? 310
|
|
/+ hood-womb, old-zuse
|
|
=, old-zuse
|
|
::
|
|
::::
|
|
::
|
|
:- %say
|
|
|= $: {now/@da eny/@uvJ byk/beak}
|
|
{{dap/term pas/@uw $~} $~}
|
|
==
|
|
^- {$hood-load ?(part:hood-womb)}
|
|
?+ dap ~|(unknown-backup+dap !!)
|
|
$womb
|
|
=+ dat=.^(@ %cx (tope byk /jam-crub/womb-part/bak/hood/app))
|
|
[%hood-load ;;(part:hood-womb (cue (dy:crub pas dat)))]
|
|
==
|