package
0.0.37
Repository: https://github.com/maikumori/srclib.git
Documentation: pkg.go.dev

# Functions

Add creates a symlink in the SRCLIBPATH so that the toolchain in dir is available at the toolchainPath.
ChooseTool determines which toolchain and tool to use to run op (graph, depresolve, etc.) on a source unit of the given type.
Get downloads the toolchain named by the toolchain path (if it does not already exist in the SRCLIBPATH).
List finds all toolchains in the SRCLIBPATH.
ListTools lists all tools in all available toolchains (returned by List).
Lookup finds a toolchain by path in the SRCLIBPATH.
Open opens a toolchain by path.
OpenTool opens a tool in toolchain (which is a toolchain path) named subcmd.

# Constants

AsDockerContainer enables the use of Docker container toolchains.
AsProgram enables the use of program toolchains.
ConfigFilename is the filename of the toolchain configuration file.

# Structs

Config represents a Srclibtoolchain file, which defines a srclib toolchain.
Info describes a toolchain.
ToolInfo describes a tool in a toolchain.

# Interfaces

A Tool is a subcommand of a Toolchain that performs an single operation, such as one type of analysis on a source unit.
A Toolchain is either a local executable program or a Docker container that wraps such a program.

# Type aliases

A Mode value is a set of flags (or 0) that control how toolchains are used.