dotcloud/docker

View on GitHub
testutil/fakegit/fakegit.go

Summary

Maintainability
A
1 hr
Test Coverage

Function New has 62 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func New(c testing.TB, name string, files map[string]string, enforceLocalServer bool) *FakeGit {
    c.Helper()
    ctx := fakecontext.New(c, "", fakecontext.WithFiles(files))
    defer ctx.Close()
    curdir, err := os.Getwd()
Severity: Minor
Found in testutil/fakegit/fakegit.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status