crash.software
Projects
Pull Requests
Issues
Builds
syft
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
syft
Files
🤬
Sign In
42fa9e49
ROOT
/
syft
/
pkg
/
cataloger
/
apkdb
/
parse_apk_db.go
Search
History
442 lines
|
ISO-8859-1
|
11 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_
:
generic.Parser
repoRegex
parsedData
License
:
string
pkg.ApkMetadata
parseApkDB
(resolver source.FileResolver, env *generic.Environment, reader source.LocationReadCloser)
:
([]pkg.Package, []artifact.Relationship, error)
findReleases
(resolver source.FileResolver, dbPath string)
:
[]linux.Release
parseReleasesFromAPKRepository
(reader source.LocationReadCloser)
:
[]linux.Release
parseApkField
(line string)
:
*apkField
apkField
name
:
string
value
:
string
apply
(p *parsedData, ctx *apkFileParsingContext)
processFileInfo
(v string)
:
(uid, gid, perms string, ok bool)
apkFileParsingContext
files
:
[]pkg.ApkFileRecord
indexOfLatestDirectory
:
int
indexOfLatestRegularFile
:
int
newApkFileParsingContext
()
:
*apkFileParsingContext
parseListValue
(value string)
:
[]string
nilFieldsToEmptySlice
(p *parsedData)
processChecksum
(value string)
:
*file.Digest
discoverPackageDependencies
(pkgs []pkg.Package)
:
(relationships []artifact.Relationship)
stripVersionSpecifier
(s string)
:
string
All occurrences
Please wait...
Page is in error, reload to recover