(value: string)
| 20 | ? value as Record<string, unknown> : {}; |
| 21 | |
| 22 | export function validChangeRef(value: string): boolean { |
| 23 | // A local revision, never shell syntax or a Git option. The daemon also validates it. |
| 24 | return value.length > 0 && value.length <= 200 && /^[A-Za-z0-9_][A-Za-z0-9_./~^@{}+-]*$/.test(value); |
| 25 | } |
| 26 | |
| 27 | /** Read file pages separately from graph impact so one cannot consume the other's budget. */ |
| 28 | export async function loadChangeSet(project: string, base: string, signal?: AbortSignal, |
no outgoing calls
no test coverage detected