NewModuleSet returns a new ModuleSet. This can be used in cases where ModuleKeyProviders and ModuleDataProviders are not needed, and when FullNames do not matter. Note the ModuleDatas must be self-contained, that is they only import from each other.
( moduleDatas ...ModuleData, )
| 92 | // |
| 93 | // Note the ModuleDatas must be self-contained, that is they only import from each other. |
| 94 | func NewModuleSet( |
| 95 | moduleDatas ...ModuleData, |
| 96 | ) (bufmodule.ModuleSet, error) { |
| 97 | return newModuleSet(moduleDatas, false, nil) |
| 98 | } |
| 99 | |
| 100 | // NewModuleSetForDirPath returns a new ModuleSet for the directory path. |
| 101 | // |
searching dependent graphs…