chore: linter: embeddedstructfieldcheck
Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
@@ -44,6 +44,7 @@ type folder struct {
|
||||
stateTracker
|
||||
config.FolderConfiguration
|
||||
*stats.FolderStatisticsReference
|
||||
|
||||
ioLimiter *semaphore.Semaphore
|
||||
|
||||
localFlags protocol.FlagLocal
|
||||
|
||||
@@ -48,6 +48,7 @@ func init() {
|
||||
// to be fetched.
|
||||
type pullBlockState struct {
|
||||
*sharedPullerState
|
||||
|
||||
block protocol.BlockInfo
|
||||
}
|
||||
|
||||
@@ -55,6 +56,7 @@ type pullBlockState struct {
|
||||
// copied.
|
||||
type copyBlocksState struct {
|
||||
*sharedPullerState
|
||||
|
||||
blocks []protocol.BlockInfo
|
||||
have int
|
||||
}
|
||||
|
||||
@@ -690,6 +690,7 @@ type ConnectionStats struct {
|
||||
|
||||
type ConnectionInfo struct {
|
||||
protocol.Statistics
|
||||
|
||||
Address string `json:"address"`
|
||||
Type string `json:"type"`
|
||||
IsLocal bool `json:"isLocal"`
|
||||
@@ -3484,6 +3485,7 @@ func redactPathError(err error) (error, bool) {
|
||||
|
||||
type redactedError struct {
|
||||
error
|
||||
|
||||
redacted error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user