Record the frameworks a full index extracted every file with; none has come or gone since.
()
| 1064 | |
| 1065 | /** Record the frameworks a full index extracted every file with; none has come or gone since. */ |
| 1066 | private stampIndexedFrameworks(): void { |
| 1067 | const names = this.orchestrator.getDetectedFrameworkNames(); |
| 1068 | if (names === null) return; |
| 1069 | try { |
| 1070 | this.queries.setMetadata(FRAMEWORKS_AT_INDEX_KEY, JSON.stringify([...names].sort())); |
| 1071 | this.queries.setMetadata(FRAMEWORKS_SINCE_INDEX_KEY, ''); |
| 1072 | this.queries.setMetadata(RESOLVER_FRAMEWORKS_AT_INDEX_KEY, JSON.stringify([...this.resolver.getDetectedFrameworks()].sort())); |
| 1073 | } catch { /* metadata is advisory */ } |
| 1074 | } |
| 1075 | |
| 1076 | /** |
| 1077 | * A sync detected frameworks again because what detection read had changed |
no test coverage detected