Skip to main content

Module peers

Module peers 

Source

Structs§

Peer
A sync-peers line: the ssh destination, then optionally the path of sb on that peer, for a peer whose non-interactive ssh PATH lacks it.

Constants§

PEERS_FILE
SUCCESS_FILE

Functions§

configured_peer
configured_peers
The lines of sync-peers, each read by Peer::parse; blank lines and # comments are skipped. None when there is no such file.
last_success
record_success
Call only once a pull and a push have both finished; health counts it as a sync that succeeded.