* Builds the change-detection hash for a repository file. The git blob SHA is * content-addressable, so it changes exactly when the file content changes — and * it is available both on the tree listing (`tree entry.id`) and the file fetch * (`blob_id`), so the stub and hydrated document hash iden
(projectId: string, path: string, blobSha: string)
| 265 | * content fetch during listing. |
| 266 | */ |
| 267 | function buildFileContentHash(projectId: string, path: string, blobSha: string): string { |
| 268 | return `gitlab:file:${projectId}:${path}:${blobSha}` |
| 269 | } |
| 270 | |
| 271 | /** |
| 272 | * Builds the web UI URL for a repository file at a given ref. |
no outgoing calls
no test coverage detected