True when `ref` carries a `gitrevisions(7)` ancestry suffix.
(ref: string)
| 2339 | |
| 2340 | /** True when `ref` carries a `gitrevisions(7)` ancestry suffix. */ |
| 2341 | function hasRevisionSuffix(ref: string): boolean { |
| 2342 | return /[\^~]/.test(ref); |
| 2343 | } |
| 2344 | |
| 2345 | /** |
| 2346 | * Resolve a ref that may carry a revision suffix (`HEAD^`, |
no outgoing calls
no test coverage detected