chore: linter: embeddedstructfieldcheck

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2025-10-23 22:48:54 +02:00
parent df8d8c276e
commit 7c9d06b4d2
36 changed files with 54 additions and 11 deletions
+1
View File
@@ -44,6 +44,7 @@ type folder struct {
stateTracker
config.FolderConfiguration
*stats.FolderStatisticsReference
ioLimiter *semaphore.Semaphore
localFlags protocol.FlagLocal
+2
View File
@@ -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
}
+2
View File
@@ -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
}