chore: fix some function names in comment (#3717)

Signed-off-by: TechVest <techdashen@qq.com>
This commit is contained in:
TechVest 2025-03-10 16:34:10 +01:00 committed by GitHub
parent c687b7bfa5
commit 04941c8b97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -505,7 +505,7 @@ func (s *Section) Data() ([]byte, error) {
// return dwarf.New(abbrev, nil, nil, info, line, nil, ranges, str)
// }
// readImportID returns the import file IDs stored inside the .loader section.
// readImportIDs returns the import file IDs stored inside the .loader section.
// Library name pattern is either path/base/member or base/member
func (f *File) readImportIDs(s *Section) ([]string, error) {
// Read loader header

View File

@ -17,7 +17,7 @@ import (
"github.com/anchore/syft/syft/pkg/cataloger/generic"
)
// parseRpmDb parses an "Packages" RPM DB and returns the Packages listed within it.
// parseRpmDB parses an "Packages" RPM DB and returns the Packages listed within it.
//
//nolint:funlen
func parseRpmDB(_ context.Context, resolver file.Resolver, env *generic.Environment, reader file.LocationReadCloser) ([]pkg.Package, []artifact.Relationship, error) {