Documentation ¶
Index ¶
- func Clone(repo string) error
- func ConfigureSecretKey(sk *gpg.SecretKey) error
- func GetCommitMessage(commit string, dir string) (string, error)
- func GetCommitTime(commit string, dir string) (*time.Time, error)
- func GetCommitVerificationMessage(commit string, dir string) (string, error)
- type Author
- type Commit
- type Commits
- type LocalRepo
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureSecretKey ¶
Types ¶
type Commit ¶
type Commit struct { Commit string `json:"commit"` Time time.Time `json:"time"` Message string `json:"message"` VerificationFlag string `json:"verification_flag"` Signer string `json:"signer"` SignerKey string `json:"signer_key"` Author Author `json:"author"` Commiter Author `json:"commiter"` }
func (*Commit) Verification ¶
func (*Commit) VerificationStatus ¶
show "G" for a good (valid) signature, "B" for a bad signature, "U" for a good signature with unknown validity, "X" for a good signature that has expired, "Y" for a good signature made by an expired key, "R" for a good signature made by a revoked key, "E" if the signature cannot be checked (e.g. missing key) and "N" for no signature
type LocalRepo ¶
func NewLocalDir ¶
func (*LocalRepo) CreateIfNotExist ¶
func (*LocalRepo) SSHAddress ¶
Click to show internal directories.
Click to hide internal directories.