shrub/gen/hood/load.hoon

20 lines
417 B
Plaintext
Raw Normal View History

2016-10-22 02:44:39 +03:00
:: Hood, generic: load named hood component's state from backup
2016-04-19 01:15:35 +03:00
::
:::: /hoon/load/hood/gen
::
/? 310
/+ womb
::
::::
!:
:- %say
2016-08-12 22:25:10 +03:00
|= $: {now/@da eny/@uvJ byk/beak}
2016-07-01 20:44:35 +03:00
{{dap/term pas/@uw $~} $~}
2016-04-19 01:15:35 +03:00
==
^- {$hood-load ?(part:womb)}
?+ dap ~|(unknown-backup+dap !!)
2016-07-01 20:44:35 +03:00
$womb
=+ dat=.^(@ %cx (tope byk /jam-crub/womb-part/bak/hood/app))
[%hood-load ;;(part:womb (cue (dy:crub pas dat)))]
2016-04-19 01:15:35 +03:00
==