lib/protocol: Clean up error values, unused flags
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3025
This commit is contained in:
committed by
Jakob Borg
parent
953482de53
commit
49387f9494
@@ -64,11 +64,6 @@ const (
|
||||
UpdateTypeForget
|
||||
)
|
||||
|
||||
// CLusterConfig flags
|
||||
const (
|
||||
FlagClusterConfigTemporaryIndexes uint32 = 1 << 0
|
||||
)
|
||||
|
||||
// ClusterConfigMessage.Folders flags
|
||||
const (
|
||||
FlagFolderReadOnly uint32 = 1 << 0
|
||||
@@ -87,8 +82,9 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
ErrClosed = errors.New("connection closed")
|
||||
ErrTimeout = errors.New("read timeout")
|
||||
ErrClosed = errors.New("connection closed")
|
||||
ErrTimeout = errors.New("read timeout")
|
||||
ErrSwitchingConnections = errors.New("switching connections")
|
||||
)
|
||||
|
||||
// Specific variants of empty messages...
|
||||
|
||||
Reference in New Issue
Block a user