package
0.6.18
Repository: https://github.com/sap/project-kb.git
Documentation: pkg.go.dev

# Functions

CreateDir makes a directory at the given path.
CreateFile creates a file in a given path if it does not exist.
FileExists checks if a file exists at the specified path.
GetDataPath returns the data path joined with the base path.
GetKeyPath returns the key path joined with the base path.
GetPubKey walks the path and finds all gpg public armored keys in that directory (that ends with .asc).
IsDir checks if a directory exists.
IsFile checks if a file exists.
ParsePath returns the root, bugID, filename of the given filepath.
SplitPath returns the directory name and the filename of a given path.

# Constants

DataPath is the root folder for cve storage.
KeyPath is the directory in which keys are stored.
LicensePath is the name of the license file stored in local.