mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 03:23:09 +03:00
simplifies |syncs
This commit is contained in:
parent
2433a3f101
commit
a4a5b133c6
@ -119,15 +119,13 @@
|
||||
abet:(spam (render "already syncing" [sud her syd]:hos) ~)
|
||||
abet:abet:(start-sync:(auto hos) |)
|
||||
::
|
||||
++ poke-syncs ::
|
||||
++ poke-syncs :: print sync config
|
||||
|= $~
|
||||
=< abet %- spam
|
||||
=+ a=(~(tap by syn))
|
||||
?: =(0 (lent a))
|
||||
?: =(0 ~(wyt by syn))
|
||||
[%leaf "no syncs configured"]~
|
||||
%- flop %+ turn a
|
||||
|= a/(pair kiln-sync *)
|
||||
(render "sync configured" [sud her syd]:p.a)
|
||||
%+ turn (~(tap in ~(key by syn)))
|
||||
|=(a/kiln-sync (render "sync configured" [sud her syd]:a))
|
||||
::
|
||||
++ poke-init-sync
|
||||
|= hos/kiln-sync
|
||||
|
Loading…
Reference in New Issue
Block a user