(ref: string)
| 264 | } |
| 265 | |
| 266 | function resolveRefToSha(ref: string): string { |
| 267 | return execFileSync("git", ["rev-parse", "--verify", ref], { |
| 268 | encoding: "utf8", |
| 269 | stdio: ["ignore", "pipe", "ignore"], |
| 270 | }).trim(); |
| 271 | } |
| 272 | |
| 273 | function canResolveRef(ref: string): boolean { |
| 274 | try { |
no outgoing calls
no test coverage detected