package
0.0.0-20201207183138-34c5bf1cd2ff
Repository: https://github.com/jakewright/home-automation.git
Documentation: pkg.go.dev

# Functions

CurrentHash returns the hash of the current git commit.
Dir returns the full path of the git repo.
Init clones the repo if necessary and checks out the given revision.
Log returns commits for the path between the range given.
ShortHash returns the short hash of the given commit.

# Constants

MirrorDirectory is the name of the directory inside the cache directory to which the git repo is cloned.

# Structs

Commit represents a commit as told by git log.
Repository represents a git repository.