diff options
Diffstat (limited to 'Hutch/Models')
| -rw-r--r-- | Hutch/Models/Git.swift | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Hutch/Models/Git.swift b/Hutch/Models/Git.swift index 905822e..a45086b 100644 --- a/Hutch/Models/Git.swift +++ b/Hutch/Models/Git.swift @@ -82,6 +82,13 @@ struct Reference: Codable, Sendable, Hashable { let target: String? } +/// A Git reference enriched with the date of its tip commit or tag, for display in the Refs tab. +struct ReferenceDetail: Sendable, Hashable { + let name: String + let target: String? + let date: Date? +} + // MARK: - TreeEntry /// An entry in a Git tree (file or directory). |
