Documentation ¶ Index ¶ func NewGoGitRepository(projectPath string, fromSHA string, toSHA string) (*goGitRepository, error) type Commit type CommitFunc type File type FileFunc type Repository type Signature Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewGoGitRepository ¶ func NewGoGitRepository(projectPath string, fromSHA string, toSHA string) (*goGitRepository, error) Types ¶ type Commit ¶ type Commit struct { Author Signature Committer Signature Message string Hash string } type CommitFunc ¶ type CommitFunc func(commit *Commit) error type File ¶ type File struct { Path string Blob func() (io.ReadCloser, error) Oid string Size int64 } type FileFunc ¶ type FileFunc func(file *File, fromCommit, toCommit string) error type Repository ¶ type Repository interface { EachFileChange(ins, mod, del FileFunc) error EachCommit(f CommitFunc) error } type Signature ¶ type Signature struct { Name string Email string When time.Time } Source Files ¶ View all Source files go-git.go repository.go Click to show internal directories. Click to hide internal directories.