MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / stampPythonRootFingerprint

Method stampPythonRootFingerprint

src/index.ts:1019–1023  ·  view source on GitHub ↗

Record the Python package-root digest a later sync compares against.

(fingerprint = this.resolver.getPythonRootFingerprint())

Source from the content-addressed store, hash-verified

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

Callers 2

indexAllMethod · 0.95
syncMethod · 0.95

Calls 2

setMetadataMethod · 0.80

Tested by

no test coverage detected