Documentation
¶
Overview ¶
Package syncertest is the conformance suite of syncer.Syncer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type World ¶
type World interface {
// Syncer returns an instance with an empty clone cache over the same stores. Every instance sees the same refs.
Syncer() syncer.Syncer
SourceURL() string
RemoteURL() string
// Commit makes a commit with the parents and returns it. A new commit adds ObjectsPerCommit objects.
Commit(parents ...string) string
ObjectsPerCommit() int
// Publish makes the commit and its history reachable at ref of the store at url, without a lease.
Publish(url, ref, commit string)
Refs(url string) map[string]string
// BreakRemote makes every later push to the remote fail as a whole.
BreakRemote()
}
World is the stores that a Syncer talks to: a source of commits, a remote, and a place that makes commits.
Click to show internal directories.
Click to hide internal directories.