mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
metadata-store lib: make config encode/decode invertible
This commit is contained in:
parent
ea5dc47eca
commit
6fbbe2ceb7
@ -197,12 +197,13 @@
|
||||
[%graph p.mod]
|
||||
=/ jin=json
|
||||
(~(got by p.jon) %group)
|
||||
?> ?=(%o -.jin)
|
||||
:+ %group ~
|
||||
?. ?& (~(has by p.jin) 'app-name')
|
||||
?~ jin
|
||||
~
|
||||
?> ?=(%o -.jin)
|
||||
?> ?& (~(has by p.jin) 'app-name')
|
||||
(~(has by p.jin) 'resource')
|
||||
==
|
||||
~
|
||||
=/ app-name=^json (~(got by p.jin) 'app-name')
|
||||
?> ?=(%s -.app-name)
|
||||
:+ ~
|
||||
|
Loading…
Reference in New Issue
Block a user