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

Method stampPythonRootFingerprint

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

1009
1010 /** Record the Python package-root digest a later sync compares against. */
1011 private stampPythonRootFingerprint(fingerprint = this.resolver.getPythonRootFingerprint()): void {
1012 try {
1013 this.queries.setMetadata(PYTHON_ROOTS_METADATA_KEY, fingerprint);
1014 } catch { /* metadata is advisory */ }
1015 }
1016
1017 /** Record the module-config files the index was resolved by, for a later sync to compare against (see sync). */
1018 private stampModuleConfigSnapshot(): void {

Callers 2

indexAllMethod · 0.95
syncMethod · 0.95

Calls 2

setMetadataMethod · 0.80

Tested by

no test coverage detected