From 38709a7888b7311df44865cf7766dab594f1f77d Mon Sep 17 00:00:00 2001 From: Frank Viernau Date: Fri, 2 Feb 2024 16:16:07 +0100 Subject: [PATCH] refactor(swiftpm): Reduce the visibility of the model to `internal` Signed-off-by: Frank Viernau --- .../swiftpm/src/main/kotlin/SwiftPmModel.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/package-managers/swiftpm/src/main/kotlin/SwiftPmModel.kt b/plugins/package-managers/swiftpm/src/main/kotlin/SwiftPmModel.kt index c83eb5f73038b..a88cafb1911d6 100644 --- a/plugins/package-managers/swiftpm/src/main/kotlin/SwiftPmModel.kt +++ b/plugins/package-managers/swiftpm/src/main/kotlin/SwiftPmModel.kt @@ -35,7 +35,7 @@ private val json = Json { ignoreUnknownKeys = true } * The data model for the output of the command `swift package show-dependencies --format json`. */ @Serializable -data class SwiftPackage( +internal data class SwiftPackage( val identity: String, val name: String, val url: String, @@ -56,7 +56,7 @@ data class SwiftPackage( * See https://github.com/apple/swift-package-manager/blob/3ef830dddff459e569d6e49c186c3ded33c39bcc/Sources/PackageGraph/PinsStore.swift#L387-L462. */ @Serializable -data class PinV2( +internal data class PinV2( val identity: String, val state: PinState?, val location: String, @@ -77,7 +77,7 @@ data class PinV2( * and https://github.com/apple/swift-package-manager/blob/3ef830dddff459e569d6e49c186c3ded33c39bcc/Sources/PackageGraph/PinsStore.swift#L440-L461. */ @Serializable -data class PinState( +internal data class PinState( val version: String? = null, val revision: String? = null, val branch: String? = null