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

Method stampWorkspaceFingerprint

src/index.ts:1050–1054  ·  view source on GitHub ↗

Record the workspace-package digest a later sync compares against (see sync).

(fingerprint = this.resolver.getWorkspaceFingerprint())

Source from the content-addressed store, hash-verified

1048
1049 /** Record the workspace-package digest a later sync compares against (see sync). */
1050 private stampWorkspaceFingerprint(fingerprint = this.resolver.getWorkspaceFingerprint()): void {
1051 try {
1052 this.queries.setMetadata(WORKSPACE_METADATA_KEY, fingerprint);
1053 } catch { /* metadata is advisory */ }
1054 }
1055
1056 /**
1057 * Record where the last walk found the package manifests, with what git's

Callers 2

indexAllMethod · 0.95
syncMethod · 0.95

Calls 2

setMetadataMethod · 0.80

Tested by

no test coverage detected