Searched refs:tryAsync (Results 1 – 2 of 2) sorted by relevance
103 async tryAsync(args: string[], options: SpawnOptions = {}): Promise<boolean> { method in GitDirectory367 return !(await this.tryAsync(['diff', '--quiet', '--', ...paths]));382 return this.tryAsync(['merge-base', '--is-ancestor', commit, 'HEAD']);
146 if (!(await rnRepo.tryAsync(['checkout', options.from]))) {150 if (!(await rnRepo.tryAsync(['checkout', options.to]))) {