synapsecns/sanguine

View on GitHub
core/os.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func CopyFile(src, dest string) error {
    // Open source file for reading
    //nolint: gosec
    srcFile, err := os.Open(src)
    if err != nil {
Severity: Major
Found in core/os.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status