mirror of
https://github.com/urbit/shrub.git
synced 2024-12-30 07:35:19 +03:00
docket: add scry endpoint for app versions
Applications might want to do rudimentary version control prior to scrying and other such operations.
This commit is contained in:
parent
9dc45c3f13
commit
3953ec0ab0
@ -168,6 +168,11 @@
|
||||
%+ turn ~(tap by charges)
|
||||
|= [=desk =charge]
|
||||
[desk (get-light-charge charge)]
|
||||
::
|
||||
[%x %charges @ %version ~]
|
||||
?~ charge=(~(get by charges) i.t.t.path)
|
||||
[~ ~]
|
||||
``noun+!>(version.docket.u.charge)
|
||||
==
|
||||
::
|
||||
++ on-agent
|
||||
|
Loading…
Reference in New Issue
Block a user