fix: lint-fix

Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
Christopher Phillips 2025-10-13 12:17:26 -04:00
parent 3f14eb7eaf
commit acb244e15e
No known key found for this signature in database
6 changed files with 11 additions and 6 deletions

View File

@ -6,9 +6,10 @@ import (
"os"
"path/filepath"
"github.com/anchore/syft/internal/log"
"github.com/bmatcuk/doublestar/v4"
"github.com/mholt/archives"
"github.com/anchore/syft/internal/log"
)
// TraverseFilesInTar enumerates all paths stored within a tar archive using the visitor pattern.

View File

@ -6,9 +6,10 @@ import (
"sort"
"strings"
"github.com/anchore/syft/internal/log"
"github.com/mholt/archives"
"github.com/scylladb/go-set/strset"
"github.com/anchore/syft/internal/log"
)
// ZipFileManifest is a collection of paths and their file metadata.

View File

@ -8,8 +8,9 @@ import (
"path/filepath"
"strings"
"github.com/anchore/syft/internal/log"
"github.com/mholt/archives"
"github.com/anchore/syft/internal/log"
)
const (

View File

@ -4,13 +4,14 @@ import (
"context"
"strings"
"github.com/mholt/archives"
"github.com/anchore/syft/internal/log"
"github.com/anchore/syft/internal/sbomsync"
"github.com/anchore/syft/syft/cataloging"
"github.com/anchore/syft/syft/file"
"github.com/anchore/syft/syft/pkg"
"github.com/anchore/syft/syft/sbom"
"github.com/mholt/archives"
)
const unknownsLabelerTaskName = "unknowns-labeler"

View File

@ -6,12 +6,13 @@ import (
"strings"
"time"
"github.com/mholt/archives"
"github.com/anchore/packageurl-go"
"github.com/anchore/syft/internal/log"
"github.com/anchore/syft/syft/pkg"
"github.com/anchore/syft/syft/sbom"
"github.com/anchore/syft/syft/source"
"github.com/mholt/archives"
)
// ToGithubModel converts the provided SBOM to a GitHub dependency model

View File

@ -10,6 +10,7 @@ import (
"path/filepath"
"sync"
"github.com/mholt/archives"
"github.com/opencontainers/go-digest"
stereoFile "github.com/anchore/stereoscope/pkg/file"
@ -21,7 +22,6 @@ import (
"github.com/anchore/syft/syft/source"
"github.com/anchore/syft/syft/source/directorysource"
"github.com/anchore/syft/syft/source/internal"
"github.com/mholt/archives"
)
var _ source.Source = (*fileSource)(nil)