Documentation
¶
Index ¶
- func ConvertEmptyToAny(cpe *cpeutils.CPE)
- func GetCPEStructFromString(s string) (cpeutils.CPE, error)
- func IsCPEFormattedString(s string) bool
- func IsCPEURIString(s string) bool
- func RemoveSlashes(s string) string
- func ToStruct(s string) (*cpeutils.CPE, error)
- func UnbindCPEFormattedString(str string) (cpeutils.CPE, error)
- func UnbindCPEURIString(uri string) (cpeutils.CPE, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertEmptyToAny ¶
ConvertEmptyToAny is used to fill in empty fields with ANY (i.e., "*"). This is primarily used when CPE URI binding string is the input.
func IsCPEFormattedString ¶
IsCPEFormattedString determines if a string looks like it is a CPE bound as 2.3 formatted string.
func IsCPEURIString ¶
IsCPEURIString determines if a string looks like it is a CPE bound as 2.2 URI
func RemoveSlashes ¶ added in v0.10.0
RemoveSlashes - remove backslashes from a string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.