MCPcopy Index your code
hub / github.com/simstudioai/sim / buildIssueContentHash

Function buildIssueContentHash

apps/sim/connectors/gitlab/gitlab.ts:256–258  ·  view source on GitHub ↗

* Builds the change-detection hash for an issue. Issues expose `updated_at`, * which increments on every edit, comment, or state change — an ideal metadata * indicator that requires no content fetch.

(projectId: string, iid: number, updatedAt: string)

Source from the content-addressed store, hash-verified

254 * indicator that requires no content fetch.
255 */
256function buildIssueContentHash(projectId: string, iid: number, updatedAt: string): string {
257 return `gitlab:issue:${projectId}:${iid}:${updatedAt}`
258}
259
260/**
261 * Builds the change-detection hash for a repository file. The git blob SHA is

Callers 1

issueToDocumentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected