parseGitStdoutBasedOnNewLine static method

List<String> parseGitStdoutBasedOnNewLine(
  1. String gitStdout
)

Parses a stdout git output into a list. The parsing is achieved by splitting the data based on newline characters.

Implementation

static List<String> parseGitStdoutBasedOnNewLine(String gitStdout) {
  LineSplitter independentLineSplitter = const LineSplitter();
  List<String> independentLines = independentLineSplitter.convert(gitStdout);

  return independentLines;
}