Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Commit

Permalink
Conform Signature to CustomStringConvertible
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Sep 2, 2020
1 parent 7372d51 commit f3b37c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Sources/Git/Signature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ extension Signature: Hashable {
}
}

// MARK: - CustomStringConvertible

extension Signature: CustomStringConvertible {
public var description: String {
return "\(name) <\(email)>"
}
}

// MARK: - Codable

extension Signature: Codable {
Expand Down

0 comments on commit f3b37c3

Please sign in to comment.