scan

package
v0.1.1-no-docker4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2015 License: BSD-3-Clause, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scan

func Scan(scanner []string, opt Options, treeConfig map[string]interface{}) ([]*unit.SourceUnit, error)

func ScanMulti

func ScanMulti(scanners [][]string, opt Options, treeConfig map[string]interface{}) ([]*unit.SourceUnit, error)

ScanMulti runs multiple scanner tools in parallel. It passes command-line options from opt to each one, and it sends the JSON representation of cfg (the repo/tree's Config) to each tool's stdin.

Types

type Options

type Options struct {
	// Quiet silences all output.
	Quiet bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL