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