dotcloud/docker

View on GitHub
pkg/archive/changes_other.go

Summary

Maintainability
A
50 mins
Test Coverage

Function collectFileInfo has 8 return statements (exceeds 4 allowed).
Open

func collectFileInfo(sourceDir string) (*FileInfo, error) {
    root := newRootFileInfo()

    err := filepath.WalkDir(sourceDir, func(path string, _ os.DirEntry, err error) error {
        if err != nil {
Severity: Major
Found in pkg/archive/changes_other.go - About 50 mins to fix

    There are no issues that match your filters.

    Category
    Status