Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = cli.Command{ Name: "upload", Usage: "Uploads user-provided test results to FOSSA", Action: Run, ArgsUsage: "<data>", Flags: common.WithGlobalFlags([]cli.Flag{ cli.BoolFlag{Name: "l, locators", Usage: "upload data in locator format instead of JSON"}, }), }
Functions ¶
func ParseLocators ¶
func ParseLocators(locators string) api.SourceUnit
Types ¶
type APIResponse ¶
type APIResponse struct {
Locator string
}
func Do ¶
func Do(io services.Services, c config.CLIConfig, data []api.SourceUnit) (APIResponse, error)
Click to show internal directories.
Click to hide internal directories.