sjansen/mecha

View on GitHub
spikes/git/main.go

Summary

Maintainability
A
35 mins
Test Coverage

Function search has 5 return statements (exceeds 4 allowed).
Open

func search(head *object.Commit, path string, target plumbing.Hash) (*object.Commit, error) {
    seen := map[plumbing.Hash]struct{}{
        head.Hash: {},
    }
    stack := []*object.Commit{head}
Severity: Major
Found in spikes/git/main.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status