(moduleId: string)
| 51 | } |
| 52 | |
| 53 | getModuleUid(moduleId: string): ModuleUID { |
| 54 | if (!(moduleId in this.nodeMetas)) { |
| 55 | this.nodeMetas[moduleId] = { |
| 56 | uid: this.uniqueId(), |
| 57 | meta: { |
| 58 | id: this.trimProjectRootId(moduleId), |
| 59 | moduleParts: {}, |
| 60 | imported: new Set(), |
| 61 | importedBy: new Set(), |
| 62 | }, |
| 63 | }; |
| 64 | } |
| 65 | |
| 66 | return this.nodeMetas[moduleId].uid; |
| 67 | } |
| 68 | |
| 69 | getBundleModuleUid(bundleId: string, moduleId: string): ModuleUID { |
| 70 | if (!(moduleId in this.nodeMetas)) { |
no test coverage detected