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

Method stampPythonRootFingerprint

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

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 {

Callers 2

indexAllMethod · 0.95
syncMethod · 0.95

Calls 2

setMetadataMethod · 0.80

Tested by

no test coverage detected