env/git.go
Function findGitInfo
has 5 return statements (exceeds 4 allowed). Open
Open
func findGitInfo() (Git, error) {
g := Git{}
var err error
g.Branch = findVar(gitBranchVars)
exported var GitBlob should have comment or be unexported Open
Open
var GitBlob = func(path string, commit *object.Commit) (string, error) {
- Exclude checks
exported type Git should have comment or be unexported Open
Open
type Git struct {
- Exclude checks
exported function GitSHA should have comment or be unexported Open
Open
func GitSHA(path string) (string, error) {
- Exclude checks
exported function GetHead should have comment or be unexported Open
Open
func GetHead() (*object.Commit, error) {
- Exclude checks