* Record where the last walk found the package manifests, with what git's * listings said then (see ManifestStamp), so a sync that sees the same can * read them without walking the tree. '' when there is nothing to trust.
(evidence: ReturnType<ExtractionOrchestrator['takeManifestEvidence']>)
| 1054 | * read them without walking the tree. '' when there is nothing to trust. |
| 1055 | */ |
| 1056 | private stampWorkspaceManifests(evidence: ReturnType<ExtractionOrchestrator['takeManifestEvidence']>): void { |
| 1057 | try { |
| 1058 | const discovery = this.resolver.getWorkspaceDiscovery(); |
| 1059 | const stamp = discovery ? engine().manifestStamp(evidence, discovery) : null; |
| 1060 | const value = stamp ? JSON.stringify(stamp) : ''; |
| 1061 | if (this.queries.getMetadata(WORKSPACE_MANIFESTS_METADATA_KEY) !== value) this.queries.setMetadata(WORKSPACE_MANIFESTS_METADATA_KEY, value); |
| 1062 | } catch { /* metadata is advisory */ } |
| 1063 | } |
| 1064 | |
| 1065 | /** Record the frameworks a full index extracted every file with; none has come or gone since. */ |
| 1066 | private stampIndexedFrameworks(): void { |
no test coverage detected