(latest: boolean)
| 15 | * Sets the latest flag for component downloads |
| 16 | */ |
| 17 | export function setLatestFlag(latest: boolean): void { |
| 18 | refreshFlag = latest; |
| 19 | if (latest) { |
| 20 | cachedPaths = null; // Clear in-memory cache |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * Ensures components are downloaded and returns the source paths |