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

Method stampWorkspaceFingerprint

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

1070
1071 /** Record the workspace-package digest a later sync compares against (see sync). */
1072 private stampWorkspaceFingerprint(fingerprint = this.resolver.getWorkspaceFingerprint()): void {
1073 try {
1074 this.queries.setMetadata(WORKSPACE_METADATA_KEY, fingerprint);
1075 } catch { /* metadata is advisory */ }
1076 }
1077
1078 /**
1079 * 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