This repository was archived by the owner on Oct 17, 2021. It is now read-only.
-
Couldn't load subscription status.
- Fork 5
Signature
mattt edited this page Sep 2, 2020
·
6 revisions
An action signature (e.g. for committers, taggers, etc).
public struct SignatureCodable, CustomStringConvertible, Equatable, Hashable
Creates a signature with the specified name, email, time, and time zone.
public init(name: String, email: String, time: Date = Date(), timeZone: TimeZone = TimeZone.current) throws- name: The name of the signer.
- email: The email of the signer.
- time: The time at which the action occurred.
- timeZone: The time's corresponding time zone.
public init(from decoder: Decoder) throwsThe name of the signer.
var name: StringThe email of the signer.
var email: StringThe time at which the action occurred.
var time: DateThe time's corresponding time zone.
var timeZone: TimeZone?var description: Stringpublic static func `default`(for repository: Repository) throws -> Signaturepublic static func ==(lhs: Signature, rhs: Signature) -> Boolpublic func hash(into hasher: inout Hasher)public func encode(to encoder: Encoder) throwsGenerated at 2020-09-02T17:06:43+0000 using swift-doc 1.0.0-beta.4.
Types
- Blob
- Branch
- Commit
- Credentials
- Error
- Message
- Note
- Object
- Object.ID
- Reference
- Reference.Format
- Remote
- Remote.Fetch
- Remote.Fetch.Configuration
- Remote.Fetch.TagFollowing
- Repository
- Repository.Attributes
- Repository.Attributes.Value
- Repository.Checkout
- Repository.Checkout.Configuration
- Repository.Checkout.ConflictResolution
- Repository.Checkout.Strategy
- Repository.Clone
- Repository.Clone.Configuration
- Repository.Clone.Local
- Repository.Head
- Repository.Index
- Repository.Index.Entry
- Repository.Index.Stage
- RevisionSortingOptions
- Signature
- Tag
- Tag.Annotation
- Tree
- Tree.Entry