Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shell ¶
type Shell struct {
LicenseDirectory string
Upload bool
RPM func(argv ...string) (stdout string, stderr string, err error)
Yum func(argv ...string) (stdout string, stderr string, err error)
}
Shell holds information and the shell command for RPM analysis.
func ShellOutput ¶
func ShellOutput() Shell
ShellOutput creates a Shell which shells out to rpm to generate values to return.
func (Shell) SinglePackage ¶
SinglePackage uploads license information pertaining to a single dependency and its dependencies. This function maintains a dependencyMap which references dependency names to their transitive dependencies and an IDMap which references a dependency to its fossa ID.
Click to show internal directories.
Click to hide internal directories.