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

Method stampWorkspaceFingerprint

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

1033
1034 /** Record the workspace-package digest a later sync compares against (see sync). */
1035 private stampWorkspaceFingerprint(fingerprint = this.resolver.getWorkspaceFingerprint()): void {
1036 try {
1037 this.queries.setMetadata(WORKSPACE_METADATA_KEY, fingerprint);
1038 } catch { /* metadata is advisory */ }
1039 }
1040
1041 /**
1042 * 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