* 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)
| 254 | * indicator that requires no content fetch. |
| 255 | */ |
| 256 | function 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 |