mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
trouble: report glob state
This commit is contained in:
parent
f4c34c7598
commit
d8203eb0d1
@ -10,6 +10,7 @@
|
||||
[%base-hash base-hash]
|
||||
[%home-hash .^(@uv %cz (pathify ~.home ~))]
|
||||
[%kids-hash .^(@uv %cz (pathify ~.kids ~))]
|
||||
[%glob-hash glob-state]
|
||||
::
|
||||
(info %our our)
|
||||
(info %sponsor sponsor)
|
||||
@ -51,4 +52,10 @@
|
||||
=/ parent (scot %p ship.u.ota)
|
||||
=+ .^(=cass:clay %cs /[parent]/[desk.u.ota]/1/late/foo)
|
||||
.^(@uv %cz /[parent]/[desk.u.ota]/(scot %ud ud.cass))
|
||||
::
|
||||
++ glob-state
|
||||
^- [@uv @tas]
|
||||
=< [hash ?~(glob %waiting ?:(-.u.glob %done %trying))]
|
||||
!< [@ud hash=@uv glob=(unit [? *])]
|
||||
.^(vase %gx (weld (pathify ~.glob ~) /dbug/state/noun))
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user