Documentation ¶
Overview ¶
Package bazel implements the internal plumbing of a Bazel extractor for Go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Corpus string // the default corpus label to use Mnemonic string // the build mnemonic to match (if "", matches all) Rules vnameutil.Rules // rules for rewriting file VNames // If set, this function is used to open files for reading. If nil, // os.Open is used. OpenRead func(context.Context, string) (io.ReadCloser, error) }
A Config carries settings that control the extraction process.
func (*Config) Extract ¶
func (c *Config) Extract(ctx context.Context, info *eapb.ExtraActionInfo) (*kindex.Compilation, error)
Extract extracts a compilation from the specified extra action info.
Click to show internal directories.
Click to hide internal directories.