Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Path is SRCLIBPATH, a colon-separated list of directories that lists // places to look for srclib toolchains and cache build data. It is // initialized from the SRCLIBPATH environment variable; if empty, it // defaults to $HOME/.srclib. Path = os.Getenv("SRCLIBPATH") // CacheDir stores cached build results. It is initialized from the // SRCLIBCACHE environment variable; if empty, it defaults to DIR/.cache, // where DIR is the first entry in Path (SRCLIBPATH). CacheDir = os.Getenv("SRCLIBCACHE") )
Functions ¶
This section is empty.
Types ¶
type ToolRef ¶
type ToolRef struct { // Toolchain is the toolchain path of the toolchain that contains this tool. Toolchain string // Subcmd is the name of the toolchain subcommand that runs this tool. Subcmd string }
A ToolRef identifies a tool inside a specific toolchain. It can be used to look up the tool.
func (ToolRef) MarshalFlag ¶
func (*ToolRef) UnmarshalFlag ¶
Directories ¶
Path | Synopsis |
---|---|
Package ann is a generated protocol buffer package.
|
Package ann is a generated protocol buffer package. |
cmd
|
|
Package dep defines an interface for listing raw dependencies and resolving them, and registering handlers to perform these tasks.
|
Package dep defines an interface for listing raw dependencies and resolving them, and registering handlers to perform these tasks. |
Package graph is a generated protocol buffer package.
|
Package graph is a generated protocol buffer package. |
TODO(sqs): remove this file
|
TODO(sqs): remove this file |
Package store handles srclib data access, querying, and storage.
|
Package store handles srclib data access, querying, and storage. |
Package unit provides a source unit abstraction over distribution packages in various languages.
|
Package unit provides a source unit abstraction over distribution packages in various languages. |
Click to show internal directories.
Click to hide internal directories.