Record the frameworks a full index extracted every file with; none has come or gone since.
()
| 1054 | |
| 1055 | /** Record the frameworks a full index extracted every file with; none has come or gone since. */ |
| 1056 | private stampIndexedFrameworks(): void { |
| 1057 | const names = this.orchestrator.getDetectedFrameworkNames(); |
| 1058 | if (names === null) return; |
| 1059 | try { |
| 1060 | this.queries.setMetadata(FRAMEWORKS_AT_INDEX_KEY, JSON.stringify([...names].sort())); |
| 1061 | this.queries.setMetadata(FRAMEWORKS_SINCE_INDEX_KEY, ''); |
| 1062 | this.queries.setMetadata(RESOLVER_FRAMEWORKS_AT_INDEX_KEY, JSON.stringify([...this.resolver.getDetectedFrameworks()].sort())); |
| 1063 | } catch { /* metadata is advisory */ } |
| 1064 | } |
| 1065 | |
| 1066 | /** |
| 1067 | * A sync detected frameworks again because what detection read had changed |
no test coverage detected