Skip to main content

Module p2p

Module p2p 

Source

Structs§

P2pReport
P2pServer
Helper structure managing a local Git P2P server process.

Functions§

connect_peer
Pull and merge notes directly from a peer developer’s IP on the local Wi-Fi without needing internet or GitHub!
get_local_ips
Query local network IP addresses to assist peer pairing.
parse_peer_address
Parse a peer address string into (host, port). Supports:
serve_p2p
Start a lightweight local P2P git notes sync server on the local LAN.