Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = fmt.Errorf("not found")
ErrNotFound signifies the file was not found.
Functions ¶
func FileHistory ¶
func FileHistory(path string, repo *git.Repository) ([]string, error)
FileHistory will trace all the versions of a file in the git repository and return a list of sha1 hashes of that file.
func GetFileHash ¶
GetFileHash calculates the sha1 hash sum of the file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.