Documentation ¶
Overview ¶
Package cppdependencyscanner encapsulates a concrete include scanner. It can either encapsulate clang-scan-deps or goma's input processor depending on build configuration. If specified as an argument it will alternatively connect to a remote scanner service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDepsScanTimeout is the error returned by the input processor // when it times out during the dependency scanning phase. ErrDepsScanTimeout = errors.New("cpp dependency scanner timed out") )
Functions ¶
This section is empty.
Types ¶
type DepsScanner ¶
type DepsScanner interface { //ProcessInputs receives a compile command, source file, and working directory and returns //a list of inputs, a boolean indicating whether deps cache was used, and an error if //exists. ProcessInputs(ctx context.Context, execID string, compileCommand []string, filename, directory string, cmdEnv []string) ([]string, bool, error) Close() Capabilities() *spb.CapabilitiesResponse }
DepsScanner is an include scanner for c++ compiles.
Directories ¶
Path | Synopsis |
---|---|
Package depsscannerclient implements the cppdependencyscanner.DepsScanner with gRPC
|
Package depsscannerclient implements the cppdependencyscanner.DepsScanner with gRPC |
Click to show internal directories.
Click to hide internal directories.