lib/db,cmd/stindex: Expose VersionList and use it in stindex
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3231
This commit is contained in:
committed by
Jakob Borg
parent
1612baca92
commit
6f63909c65
@@ -51,11 +51,11 @@ type fileVersion struct {
|
||||
device []byte
|
||||
}
|
||||
|
||||
type versionList struct {
|
||||
type VersionList struct {
|
||||
versions []fileVersion
|
||||
}
|
||||
|
||||
func (l versionList) String() string {
|
||||
func (l VersionList) String() string {
|
||||
var b bytes.Buffer
|
||||
var id protocol.DeviceID
|
||||
b.WriteString("{")
|
||||
|
||||
Reference in New Issue
Block a user