SetGlobalToolScopeMap sets the global tool scope map directly. This is useful for testing when you don't have a full inventory.
(m ToolScopeMap)
| 26 | // SetGlobalToolScopeMap sets the global tool scope map directly. |
| 27 | // This is useful for testing when you don't have a full inventory. |
| 28 | func SetGlobalToolScopeMap(m ToolScopeMap) { |
| 29 | globalToolScopeMap = m |
| 30 | } |
| 31 | |
| 32 | // GetToolScopeMap returns the global tool scope map. |
| 33 | // Returns an empty map if SetToolScopeMapFromInventory hasn't been called yet. |
no outgoing calls