MCPcopy
hub / github.com/syncthing/syncthing / Vector

Struct Vector

lib/protocol/vector.go:24–26  ·  view source on GitHub ↗

The Vector type represents a version vector. The zero value is a usable version vector. The vector has slice semantics and some operations on it are "append-like" in that they may return the same vector modified, or v new allocated Vector with the modified contents.

Source from the content-addressed store, hash-verified

22// are "append-like" in that they may return the same vector modified, or v
23// new allocated Vector with the modified contents.
24type Vector struct {
25 Counters []Counter
26}
27
28func (v *Vector) String() string {
29 var buf strings.Builder

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected