Versions in this module Expand all Collapse all v0 v0.0.1 Sep 21, 2023 Changes in this version + 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 struct + Date string + Email string + Name string + type Commit struct + Author Author + Commit string + Commiter Author + Message string + Signer string + SignerKey string + Time time.Time + VerificationFlag string + func (c *Commit) Verification() string + func (c *Commit) VerificationStatus() emoji.Emoji + type Commits []Commit + func ListCommits(dir string) (Commits, error) + func UnmarshalCommits(data []byte) (Commits, error) + func (r *Commits) Marshal() ([]byte, error) + type LocalRepo struct + Repo *url.URL + func NewLocalDir(repo string) (*LocalRepo, error) + func (l *LocalRepo) CreateIfNotExist() error + func (l *LocalRepo) Exist() bool + func (l *LocalRepo) IsGithub() bool + func (l *LocalRepo) Path() string + func (l *LocalRepo) SSHAddress() string + type Tag struct + CommitID string + Name string + Time *time.Time + func ListTags(dir string) ([]*Tag, error)