jkawamoto/loci

View on GitHub
command/archive.go

Summary

Maintainability
A
55 mins
Test Coverage

Function Archive has 9 return statements (exceeds 4 allowed).
Open

func Archive(ctx context.Context, dir string, filename string) (err error) {

    writeFile, err := os.OpenFile(filename, os.O_WRONLY|os.O_CREATE, 0600)
    if err != nil {
        return
Severity: Major
Found in command/archive.go - About 55 mins to fix

    2: cannot find package "golang.org/x/sync/errgroup" in any of:
    Open

        "golang.org/x/sync/errgroup"
    Severity: Minor
    Found in command/archive.go by govet

    There are no issues that match your filters.

    Category
    Status