SetTools processes the contents of the tools option. It expects a set of entries separated by commas; each entry is a pair of the form t:path, where cmd will be used to look only for the tool named t. If t is not specified, the path is searched for all tools.
(config string)
| 128 | // tool named t. If t is not specified, the path is searched for all |
| 129 | // tools. |
| 130 | func (bu *Binutils) SetTools(config string) { |
| 131 | bu.update(func(r *binrep) { initTools(r, config) }) |
| 132 | } |
| 133 | |
| 134 | func initTools(b *binrep, config string) { |
| 135 | // paths collect paths per tool; Key "" contains the default. |