allBranches property

Future<List<Branch>> get allBranches

Check a tag exists.

Implementation

Future<List<Branch>> get allBranches async {
  final processResult = await executeCommand(
    arguments: ['branch', '-a'],
  );
  return (processResult.stdout as List)
      .map((l) => Branch.of(l.toString()))
      .toList();
}