summaryrefslogtreecommitdiff
path: root/Hutch/Models/ArtifactInfo.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-07 17:41:00 -0500
committerGitHub <[email protected]>2026-08-07 17:41:00 -0500
commitff200d21e93d6683f779fe1f3280ac8d8561d393 (patch)
treef6603518ba62134faa699d864003b90464930ab9 /Hutch/Models/ArtifactInfo.swift
parent9d85bc7c154843693913bf0cc67c6e9ff0d8f897 (diff)
parent283fbf00fdffd64c924b6cb22c84e803b718f078 (diff)
downloadhutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.tar.gz
hutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.tar.bz2
hutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.zip
Merge pull request #39 from krazywarez/fix-actor-isolationHEADmain
Adopt Swift 6 language mode
Diffstat (limited to 'Hutch/Models/ArtifactInfo.swift')
-rw-r--r--Hutch/Models/ArtifactInfo.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/Hutch/Models/ArtifactInfo.swift b/Hutch/Models/ArtifactInfo.swift
index dbe9d96..6418ba8 100644
--- a/Hutch/Models/ArtifactInfo.swift
+++ b/Hutch/Models/ArtifactInfo.swift
@@ -1,7 +1,7 @@
import Foundation
/// An artifact with its parent reference name, used in the artifacts tab.
-struct ArtifactInfo: Codable, Sendable, Identifiable {
+nonisolated struct ArtifactInfo: Codable, Sendable, Identifiable {
let id: Int
let filename: String
let checksum: String
@@ -9,13 +9,13 @@ struct ArtifactInfo: Codable, Sendable, Identifiable {
let url: URL
}
-struct ArtifactPage: Codable, Sendable {
+nonisolated struct ArtifactPage: Codable, Sendable {
let results: [ArtifactInfo]
let cursor: String?
}
/// A reference (tag) that has associated artifacts.
-struct ReferenceWithArtifacts: Codable, Sendable, Identifiable {
+nonisolated struct ReferenceWithArtifacts: Codable, Sendable, Identifiable {
var id: String { name }
let name: String
let artifacts: [ArtifactInfo]