mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
Merge pull request #3148 from cmarcelo/glob-in-trouble
trouble: report glob state
This commit is contained in:
commit
92cc9a7725
@ -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