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

Method stampPythonRootFingerprint

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

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