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
a07bfe7d
ROOT
/
syft
/
source
/
location.go
Search
History
187 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Location
LocationData
LocationMetadata
WithAnnotation
(key, value string)
:
Location
AccessPath
()
:
string
String
()
:
string
Equals
(other Location)
:
bool
LocationData
Coordinates
VirtualPath
:
string
ref
:
file.Reference
LocationMetadata
Annotations
:
map[string]string
NewLocation
(realPath string)
:
Location
NewVirtualLocation
(realPath, virtualPath string)
:
Location
NewLocationFromCoordinates
(coordinates Coordinates)
:
Location
NewVirtualLocationFromCoordinates
(coordinates Coordinates, virtualPath string)
:
Location
NewLocationFromImage
(virtualPath string, ref file.Reference, img *image.Image)
:
Location
NewLocationFromDirectory
(responsePath string, ref file.Reference)
:
Location
NewVirtualLocationFromDirectory
(responsePath, virtualResponsePath string, ref file.Reference)
:
Location
*LocationMetadata
merge
(other LocationMetadata)
:
error
All occurrences
Please wait...
Page is in error, reload to recover