Documentation ¶
Overview ¶
Package gitsync provides the tools to syncronise git repositories between peers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NetIO ¶
NetIO shares GitChanges on toNet with the network via a multicast group. It will pass on GitChanges from the network via fromNet. It uniques the daemon instance by changing the .Name member to be name@<host IP>/<original .Name)
func NewCliRepo ¶
Types ¶
type GitChange ¶
type GitChange struct { User string // username at host HostIp string // IP address of host RepoName string // name of repo directory RefName string // name of reference Prev, Current string // previous and current reference for branch RootCommit string // ref hash of the first commit (assuming there is only one) CheckedOut bool }
Click to show internal directories.
Click to hide internal directories.