Record the Python package-root digest a later sync compares against.
(fingerprint = this.resolver.getPythonRootFingerprint())
| 1012 | |
| 1013 | /** Record the Python package-root digest a later sync compares against. */ |
| 1014 | private stampPythonRootFingerprint(fingerprint = this.resolver.getPythonRootFingerprint()): void { |
| 1015 | try { |
| 1016 | this.queries.setMetadata(PYTHON_ROOTS_METADATA_KEY, fingerprint); |
| 1017 | } catch { /* metadata is advisory */ } |
| 1018 | } |
| 1019 | |
| 1020 | /** Record the PHP web roots the index placed `$_SERVER['DOCUMENT_ROOT']` includes under (#3298), for a later sync to compare against. */ |
| 1021 | private stampPhpWebRoots(snapshot = this.resolver.getPhpWebRootSnapshot()): void { |
no test coverage detected