mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 18:12:47 +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)))]
|
|
==
|