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:
fang 2021-10-25 00:11:26 +02:00
parent 9dc45c3f13
commit 3953ec0ab0
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -168,6 +168,11 @@
%+ turn ~(tap by charges) %+ turn ~(tap by charges)
|= [=desk =charge] |= [=desk =charge]
[desk (get-light-charge charge)] [desk (get-light-charge charge)]
::
[%x %charges @ %version ~]
?~ charge=(~(get by charges) i.t.t.path)
[~ ~]
``noun+!>(version.docket.u.charge)
== ==
:: ::
++ on-agent ++ on-agent