diff options
| author | Christian Cleberg <[email protected]> | 2026-08-07 17:41:00 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-08-07 17:41:00 -0500 |
| commit | ff200d21e93d6683f779fe1f3280ac8d8561d393 (patch) | |
| tree | f6603518ba62134faa699d864003b90464930ab9 /Hutch/Models/CommitSummary.swift | |
| parent | 9d85bc7c154843693913bf0cc67c6e9ff0d8f897 (diff) | |
| parent | 283fbf00fdffd64c924b6cb22c84e803b718f078 (diff) | |
| download | hutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.tar.gz hutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.tar.bz2 hutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.zip | |
Adopt Swift 6 language mode
Diffstat (limited to 'Hutch/Models/CommitSummary.swift')
| -rw-r--r-- | Hutch/Models/CommitSummary.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Hutch/Models/CommitSummary.swift b/Hutch/Models/CommitSummary.swift index 88c3e7d..99ed233 100644 --- a/Hutch/Models/CommitSummary.swift +++ b/Hutch/Models/CommitSummary.swift @@ -2,7 +2,7 @@ import Foundation /// Lightweight commit model for list views. Matches the subset of fields /// returned by the repository log query. -struct CommitSummary: Codable, Sendable, Identifiable, Hashable { +nonisolated struct CommitSummary: Codable, Sendable, Identifiable, Hashable { let id: String let shortId: String let author: CommitAuthor @@ -15,7 +15,7 @@ struct CommitSummary: Codable, Sendable, Identifiable, Hashable { } /// A compact author representation used in commit list responses. -struct CommitAuthor: Codable, Sendable, Hashable { +nonisolated struct CommitAuthor: Codable, Sendable, Hashable { let name: String let email: String? let time: Date |
