shrub/pkg/arvo/sur/settings.hoon

32 lines
534 B
Plaintext
Raw Normal View History

2021-01-12 23:36:30 +03:00
|%
2021-02-25 04:28:26 +03:00
+$ settings-0 (map key bucket-0)
+$ bucket-0 (map key val-0)
+$ val-0
$% [%s p=@t]
[%b p=?]
[%n p=@]
==
::
2021-01-12 23:36:30 +03:00
+$ settings (map key bucket)
+$ bucket (map key val)
+$ key term
+$ val
2021-02-25 04:28:26 +03:00
$~ [%n 0]
2021-01-12 23:36:30 +03:00
$% [%s p=@t]
[%b p=?]
[%n p=@]
2021-02-25 04:28:26 +03:00
[%a p=(list val)]
2021-01-12 23:36:30 +03:00
==
+$ event
$% [%put-bucket =key =bucket]
[%del-bucket =key]
[%put-entry buc=key =key =val]
[%del-entry buc=key =key]
==
+$ data
$% [%all =settings]
[%bucket =bucket]
[%entry =val]
==
2021-01-12 23:36:30 +03:00
--