Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Changes ¶ added in v0.57.0
type Changes struct {
// Map of file paths to the changes made to the file
// The key is the file path and the value is the change
Additions map[string][]byte
// List of file paths that were deleted
Deletions []string
// OldHash is the hash of the previous commit
OldHash string
}
Changes represents the changes made to a repository
type CommitAuthor ¶ added in v0.33.0
CommitAuthor is the data (name and email) used when a commit is made
type Config ¶ added in v0.33.0
type Config struct {
// Absolute path to the directory
Directory string
// The fetch depth used when cloning, if set to 0, the entire history will be used
FetchDepth int
}
Config is configuration for any git implementation
type LastCommitChecker ¶ added in v0.57.0
Click to show internal directories.
Click to hide internal directories.