Skip to content

Commit b291bac

Browse files
giginetclaude
andcommitted
fix: move LegacyCacheMetrics out of BuildOperationMetrics to fix SwiftLint nesting violation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: giginet <giginet.net@gmail.com>
1 parent dae100d commit b291bac

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Sources/XCLogParser/activityparser/IDEActivityModel.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -800,13 +800,13 @@ public class IDEActivityLogSectionAttachment: Encodable {
800800
self.taskCounters = [:]
801801
}
802802
}
803-
804-
/// Legacy Xcode 15.3 - Xcode 26.3 format, used only for deserialization.
805-
private struct LegacyCacheMetrics: Decodable {
806-
let clangCacheHits: Int
807-
let clangCacheMisses: Int
808-
let swiftCacheHits: Int
809-
let swiftCacheMisses: Int
810-
}
811803
}
812804
}
805+
806+
/// Legacy Xcode 15.3 - Xcode 26.3 BuildOperationMetrics format, used only for deserialization.
807+
private struct LegacyCacheMetrics: Decodable {
808+
let clangCacheHits: Int
809+
let clangCacheMisses: Int
810+
let swiftCacheHits: Int
811+
let swiftCacheMisses: Int
812+
}

0 commit comments

Comments
 (0)