*** PRIVATE *** moduleSet
| 246 | // moduleSet |
| 247 | |
| 248 | type moduleSet struct { |
| 249 | modules []Module |
| 250 | moduleFullNameStringToModule map[string]Module |
| 251 | opaqueIDToModule map[string]Module |
| 252 | bucketIDToModule map[string]Module |
| 253 | commitIDToModule map[uuid.UUID]Module |
| 254 | |
| 255 | // filePathToModule is a cache of filePath -> module. |
| 256 | // |
| 257 | // If you are calling both the imports and module caches, you must call the imports cache first, |
| 258 | // i.e. lock ordering. |
| 259 | filePathToModuleCache cache.Cache[string, Module] |
| 260 | } |
| 261 | |
| 262 | func newModuleSet( |
| 263 | modules []Module, |
nothing calls this directly
no outgoing calls
no test coverage detected