(options?: string[])
| 315 | } |
| 316 | |
| 317 | async status(options?: string[]): Promise<string> { |
| 318 | const args = ['status'] |
| 319 | if (options) { |
| 320 | args.push(...options) |
| 321 | } |
| 322 | const output = await this.exec(args) |
| 323 | return output.stdout.trim() |
| 324 | } |
| 325 | |
| 326 | async symbolicRef(ref: string, options?: string[]): Promise<string> { |
| 327 | const args = ['symbolic-ref', ref] |