Record the frameworks a full index extracted every file with; none has come or gone since.
()
| 1091 | |
| 1092 | /** Record the frameworks a full index extracted every file with; none has come or gone since. */ |
| 1093 | private stampIndexedFrameworks(): void { |
| 1094 | const names = this.orchestrator.getDetectedFrameworkNames(); |
| 1095 | if (names === null) return; |
| 1096 | try { |
| 1097 | this.queries.setMetadata(FRAMEWORKS_AT_INDEX_KEY, JSON.stringify([...names].sort())); |
| 1098 | this.queries.setMetadata(FRAMEWORKS_SINCE_INDEX_KEY, ''); |
| 1099 | this.queries.setMetadata(RESOLVER_FRAMEWORKS_AT_INDEX_KEY, JSON.stringify([...this.resolver.getDetectedFrameworks()].sort())); |
| 1100 | } catch { /* metadata is advisory */ } |
| 1101 | } |
| 1102 | |
| 1103 | /** |
| 1104 | * A sync detected frameworks again because what detection read had changed |
no test coverage detected