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

Method stampPythonRootFingerprint

src/index.ts:1040–1044  ·  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

1038
1039 /** Record the Python package-root digest a later sync compares against. */
1040 private stampPythonRootFingerprint(fingerprint = this.resolver.getPythonRootFingerprint()): void {
1041 try {
1042 this.queries.setMetadata(PYTHON_ROOTS_METADATA_KEY, fingerprint);
1043 } catch { /* metadata is advisory */ }
1044 }
1045
1046 /** Record the PHP web roots the index placed `$_SERVER['DOCUMENT_ROOT']` includes under (#3298), for a later sync to compare against. */
1047 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